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.001471/0.001471, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001755/0.001755, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.359/1.359, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.8129/0.8129, allocations: 134 MB / 447.2 MB, free: 9.945 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.001853/0.001853, allocations: 62.78 kB / 0.6192 GB, free: 6.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1596, allocations: 85.91 MB / 0.7031 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002887/0.1625, allocations: 1.471 MB / 0.7045 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009067/0.1634, allocations: 450.9 kB / 0.705 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/0.1635, allocations: 0 / 0.705 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.258e-05/0.1635, allocations: 7.922 kB / 0.705 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.332e-05/0.1636, allocations: 15.88 kB / 0.705 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.1638, allocations: 19.92 kB / 0.705 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.1639, allocations: 51.83 kB / 0.7051 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.164, allocations: 15.98 kB / 0.7051 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.639e-05/0.164, allocations: 15.94 kB / 0.7051 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.034e-05/0.1641, allocations: 27.91 kB / 0.7051 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1641, allocations: 4 kB / 0.7051 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.1641, allocations: 4 kB / 0.7051 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.1642, allocations: 7.938 kB / 0.7051 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.1642, allocations: 19.92 kB / 0.7052 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.1643, allocations: 52.03 kB / 0.7052 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1643, allocations: 0 / 0.7052 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1643, allocations: 0 / 0.7052 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.1643, allocations: 0 / 0.7052 GB, free: 14.94 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.0005272/0.1649, allocations: 298.1 kB / 0.7055 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1649, allocations: 8.031 kB / 0.7055 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.588e-05/0.1649, allocations: 4.188 kB / 0.7055 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.165, allocations: 34.73 kB / 0.7055 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.165, allocations: 8.938 kB / 0.7055 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.1651, allocations: 114.5 kB / 0.7057 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1651, allocations: 4.375 kB / 0.7057 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.1651, allocations: 4.375 kB / 0.7057 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.1653, allocations: 65.55 kB / 0.7057 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1653, allocations: 0 / 0.7057 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1653, allocations: 4 kB / 0.7057 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1653, allocations: 0 / 0.7057 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.441e-05/0.1654, allocations: 23.98 kB / 0.7058 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.1658, allocations: 263.8 kB / 0.706 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.166, allocations: 54.56 kB / 0.7061 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.166, allocations: 20.95 kB / 0.7061 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.166, allocations: 0 / 0.7061 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.1662, allocations: 83.3 kB / 0.7062 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.1662, allocations: 0 / 0.7062 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.000232/0.1664, allocations: 105.6 kB / 0.7063 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.1665, allocations: 51.41 kB / 0.7063 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.551e-05/0.1666, allocations: 109.8 kB / 0.7064 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.1666, allocations: 29.7 kB / 0.7064 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.709e-05/0.1667, allocations: 84.14 kB / 0.7065 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.1667, allocations: 27.8 kB / 0.7065 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.1667, allocations: 29.7 kB / 0.7066 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1669, allocations: 322.8 kB / 0.7069 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.645e-05/0.1669, allocations: 19.94 kB / 0.7069 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.564e-05/0.167, allocations: 45.5 kB / 0.7069 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.625e-05/0.1671, allocations: 71.53 kB / 0.707 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1671, allocations: 0 / 0.707 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001423/0.1672, allocations: 93.58 kB / 0.7071 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1672, allocations: 4 kB / 0.7071 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1672, allocations: 3.984 kB / 0.7071 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1673, allocations: 11.97 kB / 0.7071 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.837e-05/0.1673, allocations: 8 kB / 0.7071 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1673, allocations: 3.984 kB / 0.7071 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.514e-05/0.1674, allocations: 15.92 kB / 0.7071 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1674, allocations: 4 kB / 0.7072 GB, free: 12.73 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 8.792e-05/0.1675, allocations: 116 kB / 0.7073 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.1675, allocations: 7.938 kB / 0.7073 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.1675, allocations: 8.125 kB / 0.7073 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1676, allocations: 4 kB / 0.7073 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1676, allocations: 8 kB / 0.7073 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1676, allocations: 3.938 kB / 0.7073 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.168, allocations: 329.9 kB / 0.7076 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.168, allocations: 0 / 0.7076 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.789e-05/0.168, allocations: 7.984 kB / 0.7076 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.168, allocations: 96 / 0.7076 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.168, allocations: 11.88 kB / 0.7076 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.168, allocations: 0 / 0.7076 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.168, allocations: 0 / 0.7076 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.1682, allocations: 183.4 kB / 0.7078 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.1682, allocations: 8 kB / 0.7078 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.1682, allocations: 7.938 kB / 0.7078 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-05/0.1683, allocations: 4 kB / 0.7078 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.1683, allocations: 7.984 kB / 0.7078 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.1684, allocations: 3.984 kB / 0.7078 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.394e-05/0.1684, allocations: 87.38 kB / 0.7079 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1684, allocations: 3.938 kB / 0.7079 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002184/0.1686, allocations: 12 kB / 0.7079 GB, free: 11.86 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.0004762/0.1691, allocations: 0.7086 MB / 0.7086 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.1692, allocations: 71.77 kB / 0.7087 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1692, allocations: 0 / 0.7087 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.106e-05/0.1693, allocations: 20 kB / 0.7087 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.1695, allocations: 12.36 kB / 0.7087 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.1709, allocations: 1.383 MB / 0.7101 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.142e-05/0.171, allocations: 75.19 kB / 0.7101 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.473e-05/0.171, allocations: 4.062 kB / 0.7101 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.1711, allocations: 15.44 kB / 0.7102 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.1711, allocations: 4 kB / 0.7102 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.1923, allocations: 1.977 MB / 0.7121 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.15, allocations: 15.7 kB / 0.7121 GB, free: 7.598 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.583192860940471] Failed to read output from testmodel.py, exit status != 0: 11.302643900038674 11.330060776 11.16081835 Calling exit ...