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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.46/1.46, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.007/1.007, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 63.95 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1536, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002864/0.1565, allocations: 1.445 MB / 0.5859 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007642/0.1573, allocations: 448.5 kB / 0.5863 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.1574, allocations: 0 / 0.5863 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.82e-05/0.1574, allocations: 3.938 kB / 0.5863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.017e-05/0.1575, allocations: 3.938 kB / 0.5863 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.1577, allocations: 27.91 kB / 0.5863 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.354e-05/0.1578, allocations: 47.86 kB / 0.5864 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1579, allocations: 15.97 kB / 0.5864 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.805e-05/0.158, allocations: 19.94 kB / 0.5864 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.731e-05/0.158, allocations: 27.84 kB / 0.5864 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.1581, allocations: 8 kB / 0.5865 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.1581, allocations: 4 kB / 0.5865 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.1581, allocations: 7.984 kB / 0.5865 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.1581, allocations: 27.86 kB / 0.5865 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.768e-05/0.1582, allocations: 48.14 kB / 0.5865 GB, free: 2.309 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1583, allocations: 0 / 0.5865 GB, free: 2.309 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1583, allocations: 0 / 0.5865 GB, free: 2.309 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1583, allocations: 0 / 0.5865 GB, free: 2.309 MB / 494.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.0004907/0.1588, allocations: 359.4 kB / 0.5869 GB, free: 1.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1588, allocations: 15.97 kB / 0.5869 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.866e-05/0.1589, allocations: 34.75 kB / 0.5869 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.1589, allocations: 8.844 kB / 0.5869 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.159, allocations: 168.3 kB / 0.5871 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.159, allocations: 8.375 kB / 0.5871 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.1591, allocations: 8.312 kB / 0.5871 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.1592, allocations: 57.75 kB / 0.5872 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1592, allocations: 0 / 0.5872 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1592, allocations: 8 kB / 0.5872 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1592, allocations: 0 / 0.5872 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.217e-05/0.1593, allocations: 27.97 kB / 0.5872 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.1598, allocations: 300.7 kB / 0.5875 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.1599, allocations: 50.56 kB / 0.5875 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.678e-05/0.16, allocations: 32.94 kB / 0.5876 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.16, allocations: 4 kB / 0.5876 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.1602, allocations: 71.42 kB / 0.5876 GB, free: 1.004 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.964e-06/0.1602, allocations: 0 / 0.5876 GB, free: 1.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002483/0.1605, allocations: 101.5 kB / 0.5877 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.1605, allocations: 51.41 kB / 0.5878 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.811e-05/0.1606, allocations: 109.8 kB / 0.5879 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1607, allocations: 29.7 kB / 0.5879 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/0.1607, allocations: 96.03 kB / 0.588 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.1608, allocations: 20.11 kB / 0.588 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.1608, allocations: 25.72 kB / 0.5881 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1609, allocations: 322.8 kB / 0.5884 GB, free: 216 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.805e-05/0.161, allocations: 16 kB / 0.5884 GB, free: 200 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.308e-05/0.161, allocations: 51.36 kB / 0.5884 GB, free: 136 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.195e-05/0.1611, allocations: 67.36 kB / 0.5885 GB, free: 56 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1611, allocations: 4 kB / 0.5885 GB, free: 52 kB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001829/0.1613, allocations: 101.7 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1614, allocations: 4 kB / 0.5886 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.1614, allocations: 4 kB / 0.5886 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1614, allocations: 0 / 0.5886 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.1615, allocations: 12.03 kB / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1615, allocations: 7.938 kB / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.1616, allocations: 11.98 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.1616, allocations: 7.938 kB / 0.5886 GB, free: 15.9 MB / 0.4981 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,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 0.0001152/0.1617, allocations: 118.4 kB / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.1617, allocations: 3.906 kB / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.1618, allocations: 11.97 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1618, allocations: 0 / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1618, allocations: 0 / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1618, allocations: 7.984 kB / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.1623, allocations: 354.4 kB / 0.5891 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1623, allocations: 0 / 0.5891 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.07e-05/0.1623, allocations: 8 kB / 0.5891 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.1624, allocations: 4 kB / 0.5891 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.1624, allocations: 0 / 0.5891 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.1624, allocations: 3.938 kB / 0.5891 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1624, allocations: 0 / 0.5891 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.1626, allocations: 187.4 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.1626, allocations: 85.05 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.1627, allocations: 0 / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.968e-05/0.1627, allocations: 11.92 kB / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.1628, allocations: 12.17 kB / 0.5894 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.1628, allocations: 0 / 0.5894 GB, free: 15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.134e-05/0.1629, allocations: 87.16 kB / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1629, allocations: 4 kB / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002615/0.1632, allocations: 16 kB / 0.5895 GB, free: 14.89 MB / 0.4981 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 () * 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 0.0004705/0.1636, allocations: 0.7085 MB / 0.5902 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001696/0.1638, allocations: 55.91 kB / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1638, allocations: 4.062 kB / 0.5903 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.658e-05/0.1639, allocations: 31.94 kB / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.1642, allocations: 14.11 kB / 0.5903 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.1655, allocations: 1.381 MB / 0.5917 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.1657, allocations: 0.6846 MB / 0.5923 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.1657, allocations: 7.922 kB / 0.5923 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.1658, allocations: 15.44 kB / 0.5923 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of SimCode: time 4.2e-07/0.1658, allocations: 4 kB / 0.5924 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.1845, allocations: 1.713 MB / 0.594 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.156/7.341, allocations: 8.047 kB / 0.594 GB, free: 10.21 MB / 0.4981 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)