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.005342/0.005342, allocations: 98.39 kB / 15.73 MB, free: 6.031 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.00145/0.00145, allocations: 194 kB / 16.67 MB, free: 5.953 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7926/0.7926, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 66.36 kB / 0.5809 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1409, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002348/0.1433, allocations: 1.466 MB / 0.6606 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000676/0.144, allocations: 442.8 kB / 0.661 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.1441, allocations: 4 kB / 0.661 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.052e-05/0.1441, allocations: 3.938 kB / 0.661 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7e-05/0.1442, allocations: 11.92 kB / 0.6611 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.1443, allocations: 27.91 kB / 0.6611 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.412e-05/0.1444, allocations: 47.91 kB / 0.6611 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1445, allocations: 8 kB / 0.6611 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.769e-05/0.1446, allocations: 23.86 kB / 0.6612 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.104e-05/0.1447, allocations: 23.92 kB / 0.6612 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.1447, allocations: 4 kB / 0.6612 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.1447, allocations: 4 kB / 0.6612 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.1447, allocations: 15.86 kB / 0.6612 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.1448, allocations: 31.91 kB / 0.6612 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.1449, allocations: 48.03 kB / 0.6613 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1449, allocations: 0 / 0.6613 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1449, allocations: 0 / 0.6613 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.1449, allocations: 0 / 0.6613 GB, free: 8.605 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.0005184/0.1454, allocations: 359.4 kB / 0.6616 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1455, allocations: 8.031 kB / 0.6616 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.658e-05/0.1455, allocations: 38.73 kB / 0.6617 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.1456, allocations: 8.891 kB / 0.6617 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.1457, allocations: 176.3 kB / 0.6618 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1457, allocations: 384 / 0.6618 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.1457, allocations: 8.375 kB / 0.6619 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.1459, allocations: 61.8 kB / 0.6619 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1459, allocations: 0 / 0.6619 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.1459, allocations: 0 / 0.6619 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1459, allocations: 0 / 0.6619 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.158e-05/0.146, allocations: 31.92 kB / 0.6619 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.1464, allocations: 304.7 kB / 0.6622 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.1466, allocations: 62.59 kB / 0.6623 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.1466, allocations: 24.95 kB / 0.6623 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.1466, allocations: 0 / 0.6623 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.1468, allocations: 75.38 kB / 0.6624 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.1468, allocations: 0 / 0.6624 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002202/0.147, allocations: 101.8 kB / 0.6625 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.1471, allocations: 55.5 kB / 0.6625 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.637e-05/0.1472, allocations: 105.8 kB / 0.6626 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.1472, allocations: 37.64 kB / 0.6627 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.1473, allocations: 84.09 kB / 0.6628 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.1473, allocations: 19.84 kB / 0.6628 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.1473, allocations: 29.7 kB / 0.6628 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1475, allocations: 322.8 kB / 0.6631 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.645e-05/0.1475, allocations: 23.92 kB / 0.6631 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/0.1476, allocations: 46.05 kB / 0.6632 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.771e-05/0.1477, allocations: 67.55 kB / 0.6632 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1477, allocations: 0 / 0.6632 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001339/0.1478, allocations: 97.56 kB / 0.6633 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1478, allocations: 8 kB / 0.6633 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1478, allocations: 0 / 0.6633 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1479, allocations: 4 kB / 0.6633 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/0.1479, allocations: 11.98 kB / 0.6634 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1479, allocations: 3.938 kB / 0.6634 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.148, allocations: 11.95 kB / 0.6634 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.148, allocations: 7.938 kB / 0.6634 GB, free: 6.199 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 8.894e-05/0.1481, allocations: 125.8 kB / 0.6635 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.1481, allocations: 4 kB / 0.6635 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.1482, allocations: 7.969 kB / 0.6635 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1482, allocations: 0 / 0.6635 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1482, allocations: 0 / 0.6635 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.1482, allocations: 0 / 0.6635 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.1486, allocations: 362.4 kB / 0.6639 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1486, allocations: 0 / 0.6639 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.768e-05/0.1486, allocations: 11.92 kB / 0.6639 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1486, allocations: 4 kB / 0.6639 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1487, allocations: 4.062 kB / 0.6639 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.1487, allocations: 7.938 kB / 0.6639 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1487, allocations: 3.938 kB / 0.6639 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.1488, allocations: 183.4 kB / 0.6641 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.1489, allocations: 85.06 kB / 0.6641 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.1489, allocations: 4 kB / 0.6641 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/0.149, allocations: 15.92 kB / 0.6642 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.149, allocations: 4 kB / 0.6642 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.149, allocations: 8 kB / 0.6642 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.344e-05/0.1491, allocations: 83.27 kB / 0.6643 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1491, allocations: 0 / 0.6643 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002349/0.1493, allocations: 12 kB / 0.6643 GB, free: 5.184 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.0004378/0.1498, allocations: 0.7163 MB / 0.665 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.1499, allocations: 52.25 kB / 0.665 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1499, allocations: 0 / 0.665 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.968e-05/0.15, allocations: 27.92 kB / 0.665 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.1502, allocations: 15.92 kB / 0.6651 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.1514, allocations: 1.362 MB / 0.6664 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.1517, allocations: 0.6962 MB / 0.6671 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.412e-05/0.1517, allocations: 7.938 kB / 0.6671 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.1518, allocations: 19.42 kB / 0.6671 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1518, allocations: 0 / 0.6671 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.1722, allocations: 1.757 MB / 0.6688 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/7.91, allocations: 10.11 kB / 0.6688 GB, free: 0.5078 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)