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.001412/0.001412, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001589/0.001589, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.365/1.365, allocations: 230.6 MB / 256 MB, free: 7.992 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.8013/0.8013, allocations: 134 MB / 446.4 MB, free: 10.25 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",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.001958/0.001958, allocations: 66.27 kB / 0.6185 GB, free: 7.227 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.151, allocations: 85.91 MB / 0.7024 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002881/0.1539, allocations: 1.502 MB / 0.7039 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009583/0.1549, allocations: 490.8 kB / 0.7043 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.73e-05/0.1549, allocations: 4 kB / 0.7043 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.155, allocations: 3.938 kB / 0.7043 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.679e-05/0.1551, allocations: 11.91 kB / 0.7044 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.1552, allocations: 19.92 kB / 0.7044 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.1553, allocations: 51.84 kB / 0.7044 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.957e-05/0.1554, allocations: 8 kB / 0.7044 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.416e-05/0.1555, allocations: 31.84 kB / 0.7045 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.855e-05/0.1556, allocations: 19.92 kB / 0.7045 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1556, allocations: 4 kB / 0.7045 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.1556, allocations: 4 kB / 0.7045 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.1556, allocations: 15.98 kB / 0.7045 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.1557, allocations: 23.86 kB / 0.7045 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.1558, allocations: 44.09 kB / 0.7046 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1558, allocations: 0 / 0.7046 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1558, allocations: 0 / 0.7046 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.1558, allocations: 0 / 0.7046 GB, free: 15.17 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.0005106/0.1563, allocations: 290.2 kB / 0.7048 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1564, allocations: 8.031 kB / 0.7049 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.1564, allocations: 42.69 kB / 0.7049 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.1564, allocations: 4.938 kB / 0.7049 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.1565, allocations: 114.5 kB / 0.705 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.1566, allocations: 8.375 kB / 0.705 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.1566, allocations: 8.312 kB / 0.705 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.1567, allocations: 61.73 kB / 0.7051 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1567, allocations: 0 / 0.7051 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.1567, allocations: 0 / 0.7051 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1567, allocations: 7.938 kB / 0.7051 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.994e-05/0.1568, allocations: 23.98 kB / 0.7051 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.1573, allocations: 263.9 kB / 0.7054 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.1574, allocations: 54.59 kB / 0.7054 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.1574, allocations: 24.94 kB / 0.7054 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.1574, allocations: 4 kB / 0.7054 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.1576, allocations: 75.34 kB / 0.7055 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.1576, allocations: 0 / 0.7055 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002207/0.1578, allocations: 97.61 kB / 0.7056 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.1579, allocations: 55.41 kB / 0.7057 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.464e-05/0.158, allocations: 109.7 kB / 0.7058 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.158, allocations: 33.7 kB / 0.7058 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.158, allocations: 84.12 kB / 0.7059 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.1581, allocations: 27.78 kB / 0.7059 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.1581, allocations: 29.72 kB / 0.7059 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1582, allocations: 326.8 kB / 0.7062 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.617e-05/0.1583, allocations: 12 kB / 0.7063 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.608e-05/0.1583, allocations: 43.42 kB / 0.7063 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.952e-05/0.1584, allocations: 71.53 kB / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1584, allocations: 4 kB / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001459/0.1586, allocations: 101.6 kB / 0.7065 GB, free: 13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1586, allocations: 4 kB / 0.7065 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1586, allocations: 0 / 0.7065 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1586, allocations: 4.375 kB / 0.7065 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.1587, allocations: 11.94 kB / 0.7065 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1587, allocations: 3.938 kB / 0.7065 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.573e-05/0.1588, allocations: 11.98 kB / 0.7065 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.1588, allocations: 11.88 kB / 0.7065 GB, free: 12.96 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.115e-05/0.1589, allocations: 123.3 kB / 0.7066 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.1589, allocations: 4 kB / 0.7066 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.1589, allocations: 8.062 kB / 0.7066 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1589, allocations: 4 kB / 0.7066 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1589, allocations: 0 / 0.7066 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1589, allocations: 3.984 kB / 0.7067 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003993/0.1593, allocations: 337.3 kB / 0.707 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1593, allocations: 0 / 0.707 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.1593, allocations: 8 kB / 0.707 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1593, allocations: 0 / 0.707 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1593, allocations: 4 kB / 0.707 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1593, allocations: 7.938 kB / 0.707 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1593, allocations: 0 / 0.707 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.1595, allocations: 183.4 kB / 0.7072 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.156e-05/0.1595, allocations: 4 kB / 0.7072 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.1596, allocations: 4 kB / 0.7072 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.1596, allocations: 11.92 kB / 0.7072 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.1597, allocations: 7.984 kB / 0.7072 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.1597, allocations: 8 kB / 0.7072 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.281e-05/0.1597, allocations: 79.28 kB / 0.7073 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1597, allocations: 0 / 0.7073 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000232/0.16, allocations: 16 kB / 0.7073 GB, free: 12.09 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.0004462/0.1604, allocations: 0.7187 MB / 0.708 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.1605, allocations: 56 kB / 0.708 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1605, allocations: 0 / 0.708 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.151e-05/0.1606, allocations: 27.92 kB / 0.7081 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.1609, allocations: 18.48 kB / 0.7081 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.1622, allocations: 1.375 MB / 0.7094 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.1625, allocations: 0.6922 MB / 0.7101 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.839e-05/0.1625, allocations: 4 kB / 0.7101 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.1626, allocations: 19.42 kB / 0.7101 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of SimCode: time 3.9e-07/0.1626, allocations: 4 kB / 0.7101 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.1916, allocations: 1.903 MB / 0.712 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11, allocations: 6.25 kB / 0.712 GB, free: 7.258 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 sys.exit(0), Time elapsed: 14.32482503191568] Failed to read output from testmodel.py, exit status != 0: 11.100471686106175 11.117111592 10.958223835 Calling exit ...