Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_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.001078/0.001082, allocations: 108 kB / 15.61 MB, free: 152 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.001074/0.001074, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7303/0.7303, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 56.03 kB / 0.5019 GB, free: 8.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.167, allocations: 80.21 MB / 0.5802 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003066/0.1701, allocations: 1.468 MB / 0.5816 GB, free: 7.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008098/0.1709, allocations: 448.6 kB / 0.5821 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.171, allocations: 0 / 0.5821 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.874e-05/0.1711, allocations: 3.938 kB / 0.5821 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.273e-05/0.1712, allocations: 11.94 kB / 0.5821 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.1713, allocations: 19.91 kB / 0.5821 GB, free: 6.734 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.188e-05/0.1714, allocations: 51.8 kB / 0.5821 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1716, allocations: 15.97 kB / 0.5821 GB, free: 6.668 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.255e-05/0.1716, allocations: 23.92 kB / 0.5822 GB, free: 6.645 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.121e-05/0.1717, allocations: 19.92 kB / 0.5822 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.1717, allocations: 11.94 kB / 0.5822 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.597e-05/0.1718, allocations: 4 kB / 0.5822 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.1718, allocations: 7.984 kB / 0.5822 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.1718, allocations: 23.88 kB / 0.5822 GB, free: 6.578 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.172, allocations: 52.14 kB / 0.5823 GB, free: 6.527 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.172, allocations: 0 / 0.5823 GB, free: 6.527 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.172, allocations: 0 / 0.5823 GB, free: 6.527 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.172, allocations: 0 / 0.5823 GB, free: 6.527 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.0005314/0.1725, allocations: 363.3 kB / 0.5826 GB, free: 6.125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.1726, allocations: 12.03 kB / 0.5826 GB, free: 6.113 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.057e-05/0.1726, allocations: 30.75 kB / 0.5827 GB, free: 6.074 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.1727, allocations: 4.938 kB / 0.5827 GB, free: 6.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.1728, allocations: 176.2 kB / 0.5828 GB, free: 5.859 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.1728, allocations: 4.375 kB / 0.5829 GB, free: 5.855 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.1728, allocations: 8.312 kB / 0.5829 GB, free: 5.848 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.173, allocations: 53.81 kB / 0.5829 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.173, allocations: 7.984 kB / 0.5829 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.173, allocations: 7.984 kB / 0.5829 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.173, allocations: 4 kB / 0.5829 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.654e-05/0.1731, allocations: 27.92 kB / 0.583 GB, free: 5.742 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.1736, allocations: 296.7 kB / 0.5832 GB, free: 5.402 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.1737, allocations: 54.66 kB / 0.5833 GB, free: 5.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.239e-05/0.1738, allocations: 28.88 kB / 0.5833 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.1738, allocations: 4 kB / 0.5833 GB, free: 5.305 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.174, allocations: 67.39 kB / 0.5834 GB, free: 5.227 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.174, allocations: 0 / 0.5834 GB, free: 5.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002349/0.1742, allocations: 105.5 kB / 0.5835 GB, free: 5.117 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.1743, allocations: 51.41 kB / 0.5835 GB, free: 5.055 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.945e-05/0.1744, allocations: 109.8 kB / 0.5836 GB, free: 4.938 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1744, allocations: 29.7 kB / 0.5837 GB, free: 4.902 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.1745, allocations: 99.97 kB / 0.5838 GB, free: 4.801 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.1745, allocations: 23.73 kB / 0.5838 GB, free: 4.777 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/0.1746, allocations: 25.72 kB / 0.5838 GB, free: 4.746 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1747, allocations: 318.8 kB / 0.5841 GB, free: 4.426 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.585e-05/0.1748, allocations: 16 kB / 0.5841 GB, free: 4.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.449e-05/0.1749, allocations: 47.42 kB / 0.5842 GB, free: 4.352 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.78e-05/0.175, allocations: 67.36 kB / 0.5842 GB, free: 4.273 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.175, allocations: 0 / 0.5842 GB, free: 4.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001523/0.1751, allocations: 101.5 kB / 0.5843 GB, free: 4.168 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1752, allocations: 8 kB / 0.5843 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1752, allocations: 0 / 0.5843 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1752, allocations: 0 / 0.5843 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.809e-05/0.1753, allocations: 11.94 kB / 0.5844 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1753, allocations: 11.97 kB / 0.5844 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.1754, allocations: 7.984 kB / 0.5844 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1754, allocations: 7.938 kB / 0.5844 GB, free: 4.121 MB / 494.1 MB 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 9.23e-05/0.1755, allocations: 118.7 kB / 0.5845 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.1755, allocations: 4.188 kB / 0.5845 GB, free: 3.992 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.1755, allocations: 11.97 kB / 0.5845 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1755, allocations: 7.969 kB / 0.5845 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1755, allocations: 0 / 0.5845 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1756, allocations: 4 kB / 0.5845 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004082/0.176, allocations: 354.4 kB / 0.5849 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.176, allocations: 4 kB / 0.5849 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.176, allocations: 3.938 kB / 0.5849 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.176, allocations: 4 kB / 0.5849 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.176, allocations: 0 / 0.5849 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.176, allocations: 3.938 kB / 0.5849 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.176, allocations: 480 / 0.5849 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.1762, allocations: 191.3 kB / 0.5851 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.1763, allocations: 85.05 kB / 0.5851 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.1763, allocations: 3.984 kB / 0.5851 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.019e-05/0.1764, allocations: 7.938 kB / 0.5852 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.1765, allocations: 11.98 kB / 0.5852 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.1765, allocations: 0 / 0.5852 GB, free: 3.223 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.426e-05/0.1765, allocations: 83.28 kB / 0.5852 GB, free: 3.141 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1765, allocations: 4 kB / 0.5852 GB, free: 3.137 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.1768, allocations: 15.91 kB / 0.5853 GB, free: 3.121 MB / 494.1 MB 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.0004915/0.1773, allocations: 0.7124 MB / 0.586 GB, free: 2.379 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.1774, allocations: 59.86 kB / 0.586 GB, free: 2.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1774, allocations: 0 / 0.586 GB, free: 2.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.411e-05/0.1775, allocations: 28.05 kB / 0.586 GB, free: 2.293 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.1778, allocations: 11.94 kB / 0.5861 GB, free: 2.281 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.1791, allocations: 1.364 MB / 0.5874 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.1794, allocations: 0.6846 MB / 0.5881 GB, free: 112 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.175e-05/0.1795, allocations: 4 kB / 0.5881 GB, free: 108 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.1795, allocations: 19.42 kB / 0.5881 GB, free: 88 kB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1795, allocations: 0 / 0.5881 GB, free: 88 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.1992, allocations: 1.72 MB / 0.5898 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.31/7.509, allocations: 15.38 kB / 0.5898 GB, free: 14.48 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)