Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 215.3 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.345/1.345, allocations: 230.6 MB / 256.8 MB, free: 8.074 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8237/0.8237, allocations: 134 MB / 447.2 MB, free: 10.28 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 70.12 kB / 0.6193 GB, free: 7.297 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1574, allocations: 85.91 MB / 0.7032 GB, free: 1.469 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002497/0.1599, allocations: 1.49 MB / 0.7046 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007915/0.1607, allocations: 498.8 kB / 0.7051 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.1607, allocations: 0 / 0.7051 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.1607, allocations: 3.938 kB / 0.7051 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.22e-05/0.1608, allocations: 11.92 kB / 0.7051 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.1609, allocations: 19.91 kB / 0.7051 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.557e-05/0.161, allocations: 47.86 kB / 0.7052 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.236e-05/0.1611, allocations: 11.98 kB / 0.7052 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.565e-05/0.1612, allocations: 31.84 kB / 0.7052 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.872e-05/0.1612, allocations: 19.92 kB / 0.7052 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.1612, allocations: 4 kB / 0.7053 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/0.1613, allocations: 8 kB / 0.7053 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.1613, allocations: 11.98 kB / 0.7053 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.1613, allocations: 23.88 kB / 0.7053 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.1614, allocations: 48.08 kB / 0.7053 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1614, allocations: 0 / 0.7053 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1614, allocations: 0 / 0.7053 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.1614, allocations: 0 / 0.7053 GB, free: 15.24 MB / 0.5294 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.0004797/0.1619, allocations: 294.1 kB / 0.7056 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.162, allocations: 8.031 kB / 0.7056 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.089e-05/0.162, allocations: 4.188 kB / 0.7056 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.669e-05/0.162, allocations: 42.69 kB / 0.7057 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.506e-05/0.162, allocations: 4.938 kB / 0.7057 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.1621, allocations: 110.5 kB / 0.7058 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1622, allocations: 8.312 kB / 0.7058 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.1622, allocations: 12.36 kB / 0.7058 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.1623, allocations: 53.62 kB / 0.7059 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.1623, allocations: 0 / 0.7059 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.1623, allocations: 7.938 kB / 0.7059 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1623, allocations: 4 kB / 0.7059 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.23e-05/0.1624, allocations: 27.97 kB / 0.7059 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.1628, allocations: 263.9 kB / 0.7061 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.1629, allocations: 54.59 kB / 0.7062 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.163, allocations: 16.95 kB / 0.7062 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.163, allocations: 4 kB / 0.7062 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.1631, allocations: 79.33 kB / 0.7063 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.1631, allocations: 0 / 0.7063 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002229/0.1634, allocations: 97.61 kB / 0.7064 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.1634, allocations: 59.34 kB / 0.7064 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.491e-05/0.1635, allocations: 109.8 kB / 0.7065 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.1635, allocations: 26.08 kB / 0.7066 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.1636, allocations: 92.14 kB / 0.7067 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.1636, allocations: 23.78 kB / 0.7067 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.1636, allocations: 33.7 kB / 0.7067 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1638, allocations: 322.7 kB / 0.707 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.342e-05/0.1638, allocations: 16 kB / 0.707 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.709e-05/0.1639, allocations: 43.42 kB / 0.7071 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.341e-05/0.164, allocations: 75.36 kB / 0.7071 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.164, allocations: 0 / 0.7071 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001479/0.1641, allocations: 93.58 kB / 0.7072 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1641, allocations: 4 kB / 0.7072 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1641, allocations: 4 kB / 0.7072 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1641, allocations: 3.984 kB / 0.7072 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.1642, allocations: 15.88 kB / 0.7073 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1642, allocations: 0 / 0.7073 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.493e-05/0.1643, allocations: 19.95 kB / 0.7073 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.1643, allocations: 288 / 0.7073 GB, free: 13.03 MB / 0.5294 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 9.592e-05/0.1644, allocations: 128 kB / 0.7074 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.1644, allocations: 0 / 0.7074 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.1644, allocations: 8.062 kB / 0.7074 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1644, allocations: 4 kB / 0.7074 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.1644, allocations: 0 / 0.7074 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1644, allocations: 3.938 kB / 0.7074 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.1648, allocations: 337.4 kB / 0.7077 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1648, allocations: 0 / 0.7077 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.925e-05/0.1649, allocations: 7.984 kB / 0.7078 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1649, allocations: 0 / 0.7078 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1649, allocations: 7.938 kB / 0.7078 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1649, allocations: 0 / 0.7078 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1649, allocations: 3.984 kB / 0.7078 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.1651, allocations: 187.4 kB / 0.7079 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.1651, allocations: 4 kB / 0.7079 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.1651, allocations: 4.125 kB / 0.7079 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.1652, allocations: 11.98 kB / 0.708 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.1652, allocations: 11.92 kB / 0.708 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.1652, allocations: 0 / 0.708 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.486e-05/0.1653, allocations: 83.28 kB / 0.7081 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1653, allocations: 0 / 0.7081 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002285/0.1655, allocations: 12 kB / 0.7081 GB, free: 12.16 MB / 0.5294 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.0004749/0.166, allocations: 0.7163 MB / 0.7088 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.1661, allocations: 55.91 kB / 0.7088 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1661, allocations: 3.938 kB / 0.7088 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.795e-05/0.1661, allocations: 24 kB / 0.7088 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.1664, allocations: 14.23 kB / 0.7089 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.1678, allocations: 1.385 MB / 0.7102 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.1681, allocations: 0.6922 MB / 0.7109 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.704e-05/0.1681, allocations: 8 kB / 0.7109 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.1682, allocations: 19.44 kB / 0.7109 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.1682, allocations: 0 / 0.7109 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.1886, allocations: 1.926 MB / 0.7128 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.84, allocations: 7.719 kB / 0.7128 GB, free: 7.305 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.270766771980561] Failed to read output from testmodel.py, exit status != 0: 10.998454504995607 11.025622252 10.859484137 Calling exit ...