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.00139/0.00139, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7364/0.7364, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 221.3 MB / 400.4 MB, free: 5.848 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009036/0.0009036, allocations: 88.53 kB / 483.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.77e-05/3.779e-05, allocations: 1.438 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1923, allocations: 82.3 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6849/0.8772, allocations: 111.9 MB / 0.7498 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.8775, allocations: 73.75 kB / 0.7498 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003322/0.8808, allocations: 1.129 MB / 0.7509 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8808, allocations: 4 kB / 0.7509 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.8809, allocations: 0 / 0.7509 GB, free: 27.61 MB / 0.5105 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.000421/0.8813, allocations: 346.7 kB / 0.7513 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.8813, allocations: 14.44 kB / 0.7513 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.8814, allocations: 34.19 kB / 0.7513 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.8814, allocations: 3.969 kB / 0.7513 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.8816, allocations: 175.2 kB / 0.7515 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.8816, allocations: 15.38 kB / 0.7515 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.8816, allocations: 6.125 kB / 0.7515 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.8818, allocations: 57.59 kB / 0.7516 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.8818, allocations: 0 / 0.7516 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.8818, allocations: 0 / 0.7516 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.8818, allocations: 0 / 0.7516 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.024e-05/0.8819, allocations: 25.12 kB / 0.7516 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.8824, allocations: 306.2 kB / 0.7519 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.913e-05/0.8825, allocations: 55.17 kB / 0.7519 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/0.8825, allocations: 27.42 kB / 0.7519 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.8825, allocations: 2.391 kB / 0.752 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.8827, allocations: 72.3 kB / 0.752 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.8827, allocations: 3.844 kB / 0.752 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0001807/0.8829, allocations: 83.72 kB / 0.7521 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.8829, allocations: 53.8 kB / 0.7522 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.796e-05/0.883, allocations: 99.94 kB / 0.7522 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.883, allocations: 36.19 kB / 0.7523 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.8831, allocations: 87.92 kB / 0.7524 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.8831, allocations: 15.19 kB / 0.7524 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.8831, allocations: 7.688 kB / 0.7524 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.8833, allocations: 313.9 kB / 0.7527 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.089e-05/0.8833, allocations: 18.91 kB / 0.7527 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.393e-05/0.8834, allocations: 45.27 kB / 0.7528 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.841e-05/0.8834, allocations: 22.05 kB / 0.7528 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.8834, allocations: 0 / 0.7528 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001172/0.8835, allocations: 92.36 kB / 0.7529 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.8835, allocations: 16.53 kB / 0.7529 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.8836, allocations: 1.875 kB / 0.7529 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.8836, allocations: 3.812 kB / 0.7529 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.958e-05/0.8837, allocations: 10.67 kB / 0.7529 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.8837, allocations: 3.953 kB / 0.7529 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.226e-05/0.8837, allocations: 15.19 kB / 0.7529 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.8838, allocations: 3.812 kB / 0.7529 GB, free: 25.88 MB / 0.5105 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.47e-05/0.8839, allocations: 122.5 kB / 0.753 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.8839, allocations: 3.906 kB / 0.753 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.8839, allocations: 11.56 kB / 0.753 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.8839, allocations: 0 / 0.753 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8839, allocations: 0 / 0.753 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.8839, allocations: 3.953 kB / 0.753 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003644/0.8843, allocations: 358.3 kB / 0.7534 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.8843, allocations: 0 / 0.7534 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.8844, allocations: 3.875 kB / 0.7534 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.8844, allocations: 6.375 kB / 0.7534 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.8844, allocations: 4.375 kB / 0.7534 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.8844, allocations: 3.953 kB / 0.7534 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8844, allocations: 0 / 0.7534 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.8846, allocations: 182 kB / 0.7536 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.8846, allocations: 87.69 kB / 0.7537 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.8846, allocations: 0 / 0.7537 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.702e-05/0.8847, allocations: 10.08 kB / 0.7537 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.8848, allocations: 10.7 kB / 0.7537 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.8848, allocations: 7.625 kB / 0.7537 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.454e-05/0.8848, allocations: 85.61 kB / 0.7538 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8848, allocations: 0 / 0.7538 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002076/0.8851, allocations: 15.06 kB / 0.7538 GB, free: 25.12 MB / 0.5105 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.0005028/0.8856, allocations: 0.7163 MB / 0.7545 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.8857, allocations: 49.59 kB / 0.7545 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8857, allocations: 0 / 0.7545 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.053e-05/0.8858, allocations: 28.56 kB / 0.7546 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.886, allocations: 10.62 kB / 0.7546 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.8864, allocations: 153.1 kB / 0.7547 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.8868, allocations: 0.6923 MB / 0.7554 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.812e-05/0.8868, allocations: 3.812 kB / 0.7554 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.8869, allocations: 17.84 kB / 0.7554 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/0.8869, allocations: 4 kB / 0.7554 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01425/0.9011, allocations: 1.463 MB / 0.7568 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001547/0.9013, allocations: 136.2 kB / 0.757 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.445, allocations: 3.938 kB / 0.757 GB, free: 23.21 MB / 0.5105 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)