Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_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.001029/0.001029, allocations: 178.4 kB / 7.65 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.7491/0.7491, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.441/1.441, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.0008616/0.0008615, allocations: 96.08 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.876e-05/1.879e-05, allocations: 0 / 0.5535 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5057/0.5058, allocations: 82.29 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.656, allocations: 111.2 MB / 0.7425 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.6562, allocations: 71.95 kB / 0.7426 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002901/0.6592, allocations: 1.132 MB / 0.7437 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6592, allocations: 0 / 0.7437 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.6592, allocations: 4 kB / 0.7437 GB, free: 10.23 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.0003932/0.6596, allocations: 344.3 kB / 0.744 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.6596, allocations: 12.03 kB / 0.744 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.6597, allocations: 0 / 0.744 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.6598, allocations: 186.8 kB / 0.7442 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.6599, allocations: 4 kB / 0.7442 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.6599, allocations: 0 / 0.7442 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.665e-05/0.66, allocations: 20 kB / 0.7442 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.492e-05/0.66, allocations: 49.69 kB / 0.7443 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.6601, allocations: 3.984 kB / 0.7443 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.6601, allocations: 0 / 0.7443 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.6601, allocations: 0 / 0.7443 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.6605, allocations: 281.3 kB / 0.7446 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.786e-05/0.6606, allocations: 46.58 kB / 0.7446 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.6607, allocations: 25.06 kB / 0.7446 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.6607, allocations: 0 / 0.7446 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.6609, allocations: 79.42 kB / 0.7447 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.6609, allocations: 0 / 0.7447 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0001862/0.6611, allocations: 77.53 kB / 0.7448 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.6611, allocations: 59.41 kB / 0.7448 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.406e-05/0.6612, allocations: 93 kB / 0.7449 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.6612, allocations: 25.8 kB / 0.745 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.6613, allocations: 95.97 kB / 0.745 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.6613, allocations: 23.75 kB / 0.7451 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.6613, allocations: 0 / 0.7451 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.6614, allocations: 322.8 kB / 0.7454 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.863e-05/0.6615, allocations: 12 kB / 0.7454 GB, free: 8.316 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.068e-05/0.6615, allocations: 39.44 kB / 0.7454 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.674e-05/0.6616, allocations: 20.16 kB / 0.7454 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6616, allocations: 8 kB / 0.7454 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001201/0.6617, allocations: 81.53 kB / 0.7455 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.6617, allocations: 7.984 kB / 0.7455 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.6617, allocations: 0 / 0.7455 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.6617, allocations: 4 kB / 0.7455 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.567e-05/0.6618, allocations: 11.94 kB / 0.7455 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.6618, allocations: 0 / 0.7455 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.6619, allocations: 15.92 kB / 0.7456 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.6619, allocations: 4 kB / 0.7456 GB, free: 8.109 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 7.554e-05/0.662, allocations: 113.8 kB / 0.7457 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.85e-05/0.6621, allocations: 77.53 kB / 0.7458 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.735e-06/0.6621, allocations: 4 kB / 0.7458 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.6622, allocations: 8.406 kB / 0.7458 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.6622, allocations: 4 kB / 0.7458 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.6622, allocations: 0 / 0.7458 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.6622, allocations: 7.938 kB / 0.7458 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.6625, allocations: 327 kB / 0.7461 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6625, allocations: 0 / 0.7461 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.86e-05/0.6626, allocations: 11.92 kB / 0.7461 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.6626, allocations: 0 / 0.7461 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.6626, allocations: 0 / 0.7461 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6626, allocations: 0 / 0.7461 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.6626, allocations: 3.953 kB / 0.7461 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.6627, allocations: 179.6 kB / 0.7463 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.6628, allocations: 85 kB / 0.7464 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.6628, allocations: 3.938 kB / 0.7464 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-05/0.6629, allocations: 8 kB / 0.7464 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.663, allocations: 16 kB / 0.7464 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.663, allocations: 4 kB / 0.7464 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.475e-05/0.663, allocations: 83.27 kB / 0.7465 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.663, allocations: 0 / 0.7465 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000217/0.6633, allocations: 20 kB / 0.7465 GB, free: 7.082 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.0004073/0.6637, allocations: 0.6968 MB / 0.7472 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.6638, allocations: 43.94 kB / 0.7472 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.6638, allocations: 0 / 0.7472 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.767e-05/0.6638, allocations: 27.94 kB / 0.7472 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.664, allocations: 12.47 kB / 0.7472 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.6645, allocations: 141.4 kB / 0.7474 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.6648, allocations: 0.6924 MB / 0.7481 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.714e-05/0.6648, allocations: 4 kB / 0.7481 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.6649, allocations: 27.42 kB / 0.7481 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.6649, allocations: 384 / 0.7481 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.6834, allocations: 1.162 MB / 0.7492 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.6836, allocations: 120.7 kB / 0.7493 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/2.186, allocations: 0 / 0.7493 GB, free: 4.012 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)