Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",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.007126/0.007126, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001551/0.001551, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8469/0.8469, allocations: 135.1 MB / 425.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001255, allocations: 70.58 kB / 0.5851 GB, free: 21.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1785, allocations: 80.92 MB / 0.6641 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003072/0.1816, allocations: 1.472 MB / 0.6656 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008842/0.1826, allocations: 446.9 kB / 0.666 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.551e-05/0.1827, allocations: 0 / 0.666 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.85e-05/0.1827, allocations: 3.938 kB / 0.666 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.1829, allocations: 11.91 kB / 0.666 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.1831, allocations: 23.92 kB / 0.666 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.1832, allocations: 47.91 kB / 0.6661 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1833, allocations: 12 kB / 0.6661 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.086e-05/0.1834, allocations: 19.92 kB / 0.6661 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.506e-05/0.1835, allocations: 31.89 kB / 0.6661 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.1835, allocations: 4 kB / 0.6662 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.97e-05/0.1836, allocations: 7.938 kB / 0.6662 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.1836, allocations: 11.94 kB / 0.6662 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.1837, allocations: 23.92 kB / 0.6662 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.1838, allocations: 43.98 kB / 0.6662 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1838, allocations: 0 / 0.6662 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.585e-06/0.1838, allocations: 4 kB / 0.6662 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.1838, allocations: 0 / 0.6662 GB, free: 4.137 MB / 0.4981 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.0006477/0.1845, allocations: 359.4 kB / 0.6666 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.1846, allocations: 9.109 kB / 0.6666 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.639e-05/0.1846, allocations: 42.73 kB / 0.6666 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.1847, allocations: 8.891 kB / 0.6666 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.1849, allocations: 168.3 kB / 0.6668 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.1849, allocations: 4.375 kB / 0.6668 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.1849, allocations: 16.31 kB / 0.6668 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.1851, allocations: 57.8 kB / 0.6669 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1851, allocations: 0 / 0.6669 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1851, allocations: 4 kB / 0.6669 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.1851, allocations: 4 kB / 0.6669 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.036e-05/0.1852, allocations: 23.98 kB / 0.6669 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005843/0.1858, allocations: 300.7 kB / 0.6672 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.1859, allocations: 54.56 kB / 0.6672 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.34e-05/0.186, allocations: 20.95 kB / 0.6673 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.186, allocations: 4 kB / 0.6673 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.1862, allocations: 79.41 kB / 0.6673 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 2.304e-06/0.1862, allocations: 0 / 0.6673 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002669/0.1865, allocations: 109.8 kB / 0.6675 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.1865, allocations: 51.41 kB / 0.6675 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.177e-05/0.1866, allocations: 105.8 kB / 0.6676 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.1867, allocations: 29.8 kB / 0.6676 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.1867, allocations: 96.03 kB / 0.6677 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.1868, allocations: 23.77 kB / 0.6677 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/0.1868, allocations: 33.7 kB / 0.6678 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.187, allocations: 318.8 kB / 0.6681 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.86e-05/0.187, allocations: 15.98 kB / 0.6681 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.692e-05/0.1871, allocations: 47.42 kB / 0.6681 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.347e-05/0.1872, allocations: 67.38 kB / 0.6682 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1872, allocations: 0 / 0.6682 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001522/0.1873, allocations: 97.5 kB / 0.6683 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1873, allocations: 4 kB / 0.6683 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1874, allocations: 4 kB / 0.6683 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1874, allocations: 0 / 0.6683 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.1874, allocations: 11.98 kB / 0.6683 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1875, allocations: 0 / 0.6683 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.084e-05/0.1875, allocations: 12.03 kB / 0.6683 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1876, allocations: 7.938 kB / 0.6683 GB, free: 1.734 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.0001031/0.1877, allocations: 125.8 kB / 0.6685 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.1877, allocations: 3.953 kB / 0.6685 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/0.1877, allocations: 7.969 kB / 0.6685 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.1877, allocations: 4 kB / 0.6685 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1877, allocations: 64 / 0.6685 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1877, allocations: 4 kB / 0.6685 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000411/0.1882, allocations: 358.4 kB / 0.6688 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1882, allocations: 0 / 0.6688 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.862e-05/0.1882, allocations: 7.984 kB / 0.6688 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1882, allocations: 0 / 0.6688 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.1882, allocations: 4 kB / 0.6688 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1883, allocations: 3.938 kB / 0.6688 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1883, allocations: 0 / 0.6688 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.1884, allocations: 191.4 kB / 0.669 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.1885, allocations: 85.28 kB / 0.6691 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.1885, allocations: 8 kB / 0.6691 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.459e-05/0.1886, allocations: 7.922 kB / 0.6691 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.1887, allocations: 7.984 kB / 0.6691 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.1887, allocations: 7.938 kB / 0.6691 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.627e-05/0.1887, allocations: 87.27 kB / 0.6692 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1887, allocations: 0 / 0.6692 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002363/0.189, allocations: 16 kB / 0.6692 GB, free: 0.7227 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.0005136/0.1895, allocations: 0.7098 MB / 0.6699 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.1897, allocations: 51.92 kB / 0.67 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1897, allocations: 0 / 0.67 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.511e-05/0.1898, allocations: 31.92 kB / 0.67 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.1901, allocations: 19.98 kB / 0.67 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.1914, allocations: 1.359 MB / 0.6713 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.1917, allocations: 0.6846 MB / 0.672 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.1918, allocations: 8 kB / 0.672 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.1918, allocations: 23.36 kB / 0.672 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1918, allocations: 3.938 kB / 0.672 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/0.213, allocations: 1.77 MB / 0.6738 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/7.841, allocations: 9.094 kB / 0.6738 GB, free: 12 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv --start-time -1 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)