Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.001281, allocations: 116.4 kB / 16.37 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 196.3 kB / 17.31 MB, free: 5.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7458/0.7458, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.91 kB / 0.5067 GB, free: 7.688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2899, allocations: 80.9 MB / 0.5858 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002261/0.2921, allocations: 1.458 MB / 0.5872 GB, free: 24.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005581/0.2927, allocations: 450.4 kB / 0.5876 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.875e-05/0.2928, allocations: 2.031 kB / 0.5876 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.535e-05/0.2928, allocations: 3.938 kB / 0.5876 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.307e-05/0.2929, allocations: 5.875 kB / 0.5876 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.293, allocations: 31.86 kB / 0.5877 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.835e-05/0.2931, allocations: 49.02 kB / 0.5877 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.868e-05/0.2932, allocations: 18.19 kB / 0.5877 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.061e-05/0.2933, allocations: 24.8 kB / 0.5877 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.866e-05/0.2933, allocations: 16.83 kB / 0.5878 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.2933, allocations: 4.688 kB / 0.5878 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.2933, allocations: 4.031 kB / 0.5878 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.2934, allocations: 19.34 kB / 0.5878 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.2934, allocations: 26.48 kB / 0.5878 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.692e-05/0.2935, allocations: 36.23 kB / 0.5878 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2935, allocations: 1.75 kB / 0.5878 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2935, allocations: 0 / 0.5878 GB, free: 24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.2935, allocations: 0 / 0.5878 GB, free: 24 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003701/0.2939, allocations: 364 kB / 0.5882 GB, free: 23.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.2939, allocations: 14.3 kB / 0.5882 GB, free: 23.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.294, allocations: 9.156 kB / 0.5882 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.538e-05/0.294, allocations: 170.9 kB / 0.5884 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.2941, allocations: 11.36 kB / 0.5884 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.2941, allocations: 4.562 kB / 0.5884 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.485e-05/0.2942, allocations: 56.72 kB / 0.5884 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.2942, allocations: 0 / 0.5884 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.2942, allocations: 1.031 kB / 0.5884 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.2942, allocations: 1.094 kB / 0.5884 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.219e-05/0.2943, allocations: 31.64 kB / 0.5885 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.2946, allocations: 306.4 kB / 0.5888 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.45e-05/0.2947, allocations: 54.78 kB / 0.5888 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.2947, allocations: 28.84 kB / 0.5888 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.2948, allocations: 7.188 kB / 0.5889 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.624e-05/0.2949, allocations: 67.64 kB / 0.5889 GB, free: 22.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.2949, allocations: 0 / 0.5889 GB, free: 22.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001798/0.2951, allocations: 101.2 kB / 0.589 GB, free: 22.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.2951, allocations: 55.16 kB / 0.5891 GB, free: 22.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.588e-05/0.2951, allocations: 104.2 kB / 0.5892 GB, free: 22.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.2951, allocations: 31.52 kB / 0.5892 GB, free: 22.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.222e-05/0.2952, allocations: 87.3 kB / 0.5893 GB, free: 22.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.2952, allocations: 19.52 kB / 0.5893 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.2952, allocations: 27 kB / 0.5893 GB, free: 22.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.426e-05/0.2953, allocations: 325.3 kB / 0.5896 GB, free: 22.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.994e-05/0.2953, allocations: 14.81 kB / 0.5897 GB, free: 22.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/0.2954, allocations: 49.23 kB / 0.5897 GB, free: 22.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.785e-05/0.2954, allocations: 76.77 kB / 0.5898 GB, free: 22.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2954, allocations: 1.094 kB / 0.5898 GB, free: 22.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001133/0.2956, allocations: 98.84 kB / 0.5899 GB, free: 22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.2956, allocations: 5.094 kB / 0.5899 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2956, allocations: 2.125 kB / 0.5899 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2956, allocations: 5.281 kB / 0.5899 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.89e-05/0.2957, allocations: 8.875 kB / 0.5899 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2957, allocations: 2.938 kB / 0.5899 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.2957, allocations: 20.14 kB / 0.5899 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.2957, allocations: 2.688 kB / 0.5899 GB, free: 21.98 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.958e-05/0.2958, allocations: 120.8 kB / 0.59 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.2958, allocations: 8.688 kB / 0.59 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.182e-05/0.2958, allocations: 9.531 kB / 0.59 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2958, allocations: 1.406 kB / 0.59 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2959, allocations: 0 / 0.59 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2959, allocations: 0 / 0.59 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.2961, allocations: 361.9 kB / 0.5904 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2961, allocations: 0 / 0.5904 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.2962, allocations: 4.312 kB / 0.5904 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2962, allocations: 0 / 0.5904 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.2962, allocations: 5.438 kB / 0.5904 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2962, allocations: 9.219 kB / 0.5904 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2962, allocations: 0.5 kB / 0.5904 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.2963, allocations: 182.8 kB / 0.5906 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.2963, allocations: 79.52 kB / 0.5907 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.2964, allocations: 3.938 kB / 0.5907 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.2964, allocations: 11.92 kB / 0.5907 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.2965, allocations: 11.98 kB / 0.5907 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2965, allocations: 4.25 kB / 0.5907 GB, free: 21.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.871e-05/0.2965, allocations: 80.03 kB / 0.5908 GB, free: 21.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2965, allocations: 3.938 kB / 0.5908 GB, free: 21.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000219/0.2967, allocations: 17.91 kB / 0.5908 GB, free: 21.08 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.321e-05/0.2968, allocations: 95.23 kB / 0.5909 GB, free: 20.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.2969, allocations: 61.11 kB / 0.5909 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.2969, allocations: 0 / 0.5909 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.067e-05/0.297, allocations: 23.94 kB / 0.591 GB, free: 20.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.2972, allocations: 15.92 kB / 0.591 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.2975, allocations: 157.4 kB / 0.5911 GB, free: 20.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.917e-05/0.2976, allocations: 0.6901 MB / 0.5918 GB, free: 19.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.06e-05/0.2976, allocations: 0 / 0.5918 GB, free: 19.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.2976, allocations: 12.03 kB / 0.5918 GB, free: 19.97 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2976, allocations: 7.938 kB / 0.5918 GB, free: 19.96 MB / 446.1 MB Notification: Performance of Templates: time 0.002235/0.2999, allocations: 0.7754 MB / 0.5926 GB, free: 19.23 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)