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.005976/0.005976, 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.001367/0.001367, 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.258/1.258, 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/package.mo): time 0.7102/0.7102, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 61.22 kB / 0.5808 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1425, allocations: 80.21 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002233/0.1447, allocations: 1.47 MB / 0.6606 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006547/0.1454, allocations: 450.8 kB / 0.661 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.1455, allocations: 4 kB / 0.661 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.1455, allocations: 3.938 kB / 0.661 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.644e-05/0.1456, allocations: 7.922 kB / 0.6611 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.1458, allocations: 23.92 kB / 0.6611 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.29e-05/0.1459, allocations: 47.91 kB / 0.6611 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.146, allocations: 11.98 kB / 0.6611 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.386e-05/0.146, allocations: 27.86 kB / 0.6612 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.906e-05/0.1461, allocations: 19.92 kB / 0.6612 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.1461, allocations: 8 kB / 0.6612 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.1461, allocations: 4 kB / 0.6612 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.1462, allocations: 11.92 kB / 0.6612 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.1462, allocations: 23.92 kB / 0.6612 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.1463, allocations: 48.03 kB / 0.6613 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1463, allocations: 0 / 0.6613 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1463, allocations: 0 / 0.6613 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1464, allocations: 0 / 0.6613 GB, free: 8.633 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.0004916/0.1468, allocations: 367.4 kB / 0.6616 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1469, allocations: 11.97 kB / 0.6616 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.1469, allocations: 34.73 kB / 0.6617 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.147, allocations: 8.891 kB / 0.6617 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.1471, allocations: 172.3 kB / 0.6618 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1471, allocations: 4.375 kB / 0.6618 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.1471, allocations: 4.375 kB / 0.6618 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.1472, allocations: 61.8 kB / 0.6619 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.1472, allocations: 0 / 0.6619 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1473, allocations: 0 / 0.6619 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1473, allocations: 0 / 0.6619 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.478e-05/0.1473, allocations: 35.92 kB / 0.6619 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.1478, allocations: 296.8 kB / 0.6622 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.1479, allocations: 62.58 kB / 0.6623 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.148, allocations: 24.95 kB / 0.6623 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.148, allocations: 4 kB / 0.6623 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.1481, allocations: 71.38 kB / 0.6624 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.1482, allocations: 0 / 0.6624 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002153/0.1484, allocations: 101.6 kB / 0.6625 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.1484, allocations: 55.41 kB / 0.6625 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/0.1485, allocations: 105.8 kB / 0.6626 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1485, allocations: 29.7 kB / 0.6627 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.1486, allocations: 104 kB / 0.6628 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.1486, allocations: 20.22 kB / 0.6628 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.1486, allocations: 25.7 kB / 0.6628 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.1487, allocations: 322.8 kB / 0.6631 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.181e-05/0.1488, allocations: 15.98 kB / 0.6631 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.643e-05/0.1488, allocations: 47.36 kB / 0.6632 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.771e-05/0.1489, allocations: 67.38 kB / 0.6632 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1489, allocations: 0 / 0.6632 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001236/0.149, allocations: 97.62 kB / 0.6633 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1491, allocations: 8 kB / 0.6633 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1491, allocations: 0 / 0.6633 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1491, allocations: 4 kB / 0.6633 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.088e-05/0.1492, allocations: 19.92 kB / 0.6634 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1492, allocations: 0 / 0.6634 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.1492, allocations: 11.98 kB / 0.6634 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.1493, allocations: 7.938 kB / 0.6634 GB, free: 6.219 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 7.353e-05/0.1493, allocations: 121.8 kB / 0.6635 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.1494, allocations: 4 kB / 0.6635 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.1494, allocations: 7.969 kB / 0.6635 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1494, allocations: 0 / 0.6635 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.1494, allocations: 0 / 0.6635 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1494, allocations: 4.281 kB / 0.6635 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.1498, allocations: 366.4 kB / 0.6639 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1498, allocations: 0 / 0.6639 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.76e-05/0.1498, allocations: 11.92 kB / 0.6639 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.1498, allocations: 3.984 kB / 0.6639 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1498, allocations: 0 / 0.6639 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1498, allocations: 3.938 kB / 0.6639 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1498, allocations: 0 / 0.6639 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.15, allocations: 187.3 kB / 0.6641 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.15, allocations: 89.06 kB / 0.6641 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.15, allocations: 0 / 0.6641 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.1501, allocations: 11.92 kB / 0.6641 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.1502, allocations: 8.188 kB / 0.6642 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.1502, allocations: 4 kB / 0.6642 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.1502, allocations: 87.2 kB / 0.6642 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1502, allocations: 0 / 0.6642 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002181/0.1504, allocations: 16 kB / 0.6643 GB, free: 5.203 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.0003561/0.1508, allocations: 0.7124 MB / 0.665 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.151, allocations: 51.92 kB / 0.665 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.151, allocations: 0 / 0.665 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.899e-05/0.151, allocations: 31.92 kB / 0.665 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.1513, allocations: 17.62 kB / 0.6651 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1523, allocations: 1.368 MB / 0.6664 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.1525, allocations: 0.6846 MB / 0.6671 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.78e-05/0.1526, allocations: 7.938 kB / 0.6671 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.1526, allocations: 23.42 kB / 0.6671 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1526, allocations: 0 / 0.6671 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.1691, allocations: 1.755 MB / 0.6688 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/7.363, allocations: 8.203 kB / 0.6688 GB, free: 0.5273 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)