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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 172 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8015/0.8015, allocations: 133.6 MB / 141.6 MB, free: 2.859 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008705/0.0008706, allocations: 102.5 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.68e-05/2.691e-05, allocations: 0 / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5065/0.5065, allocations: 82.3 MB / 0.6339 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.6573, allocations: 111.2 MB / 0.7425 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.6576, allocations: 71.95 kB / 0.7426 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003111/0.6607, allocations: 1.124 MB / 0.7437 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6608, allocations: 0 / 0.7437 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.6608, allocations: 0 / 0.7437 GB, free: 10.37 MB / 0.5261 GB 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.0004191/0.6612, allocations: 350.5 kB / 0.744 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.6612, allocations: 8.031 kB / 0.744 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.6613, allocations: 7.984 kB / 0.744 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.6615, allocations: 178.8 kB / 0.7442 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.6615, allocations: 0 / 0.7442 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.6615, allocations: 4 kB / 0.7442 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.713e-05/0.6616, allocations: 19.98 kB / 0.7442 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.725e-05/0.6617, allocations: 53.69 kB / 0.7443 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.6617, allocations: 3.938 kB / 0.7443 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.6617, allocations: 4 kB / 0.7443 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.6618, allocations: 0 / 0.7443 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.6622, allocations: 277.4 kB / 0.7446 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.474e-05/0.6623, allocations: 50.56 kB / 0.7446 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.1e-05/0.6624, allocations: 21.08 kB / 0.7446 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.6624, allocations: 96 / 0.7446 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.6626, allocations: 71.33 kB / 0.7447 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.6626, allocations: 3.938 kB / 0.7447 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0001793/0.6628, allocations: 81.53 kB / 0.7448 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.6628, allocations: 55.41 kB / 0.7448 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.6629, allocations: 101 kB / 0.7449 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.663, allocations: 29.7 kB / 0.745 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.387e-05/0.663, allocations: 84.05 kB / 0.745 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.6631, allocations: 19.75 kB / 0.7451 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.6631, allocations: 0 / 0.7451 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.6632, allocations: 326.8 kB / 0.7454 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.938e-05/0.6633, allocations: 16 kB / 0.7454 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.448e-05/0.6633, allocations: 39.44 kB / 0.7454 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.096e-05/0.6634, allocations: 19.98 kB / 0.7454 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6634, allocations: 0 / 0.7454 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001329/0.6635, allocations: 89.45 kB / 0.7455 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.6636, allocations: 9.875 kB / 0.7455 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.6636, allocations: 0 / 0.7455 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.6636, allocations: 4.031 kB / 0.7455 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-05/0.6637, allocations: 8 kB / 0.7455 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.631e-05/0.6637, allocations: 4 kB / 0.7455 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.6638, allocations: 11.92 kB / 0.7456 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.6638, allocations: 4 kB / 0.7456 GB, free: 8.242 MB / 0.5261 GB 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.396e-05/0.6639, allocations: 117.8 kB / 0.7457 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001071/0.664, allocations: 73.59 kB / 0.7457 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-06/0.664, allocations: 4 kB / 0.7457 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.6641, allocations: 16.39 kB / 0.7458 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6641, allocations: 0 / 0.7458 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6641, allocations: 0 / 0.7458 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.6641, allocations: 3.953 kB / 0.7458 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003957/0.6645, allocations: 331 kB / 0.7461 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6645, allocations: 3.984 kB / 0.7461 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.659e-05/0.6645, allocations: 8 kB / 0.7461 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6646, allocations: 0 / 0.7461 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.6646, allocations: 4 kB / 0.7461 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6646, allocations: 0 / 0.7461 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.6646, allocations: 3.953 kB / 0.7461 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.6648, allocations: 171.5 kB / 0.7463 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.6648, allocations: 85.02 kB / 0.7463 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.6648, allocations: 3.938 kB / 0.7464 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.533e-05/0.6649, allocations: 11.98 kB / 0.7464 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.665, allocations: 15.94 kB / 0.7464 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.665, allocations: 4.062 kB / 0.7464 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.397e-05/0.6651, allocations: 83.55 kB / 0.7465 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6651, allocations: 0 / 0.7465 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000222/0.6653, allocations: 12 kB / 0.7465 GB, free: 7.219 MB / 0.5261 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004908/0.6658, allocations: 0.7046 MB / 0.7472 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.6659, allocations: 43.94 kB / 0.7472 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6659, allocations: 0 / 0.7472 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.568e-05/0.666, allocations: 27.94 kB / 0.7472 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.6662, allocations: 8.453 kB / 0.7472 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/0.6667, allocations: 149.4 kB / 0.7474 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.6671, allocations: 0.6924 MB / 0.7481 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.849e-05/0.6671, allocations: 4 kB / 0.7481 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.6672, allocations: 23.42 kB / 0.7481 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of SimCode: time 2.21e-07/0.6672, allocations: 0 / 0.7481 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.6911, allocations: 1.164 MB / 0.7492 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003205/0.6915, allocations: 132.1 kB / 0.7493 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/2.185, allocations: 0 / 0.7493 GB, free: 4.133 MB / 0.5261 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)