Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.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.001713/0.001713, 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.002169/0.002169, allocations: 214 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 8 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.797/0.797, allocations: 134 MB / 447.2 MB, free: 10.22 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.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay",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.001835/0.001835, allocations: 69.17 kB / 0.6193 GB, free: 7.234 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1648, allocations: 85.9 MB / 0.7032 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.00248/0.1673, allocations: 1.454 MB / 0.7046 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008071/0.1681, allocations: 486.8 kB / 0.7051 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.1681, allocations: 0 / 0.7051 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.1681, allocations: 3.938 kB / 0.7051 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.546e-05/0.1682, allocations: 15.91 kB / 0.7051 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.1684, allocations: 23.86 kB / 0.7051 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.1685, allocations: 51.8 kB / 0.7051 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.289e-05/0.1686, allocations: 4 kB / 0.7052 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.484e-05/0.1687, allocations: 27.91 kB / 0.7052 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.1687, allocations: 23.86 kB / 0.7052 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.1687, allocations: 4 kB / 0.7052 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.1688, allocations: 4 kB / 0.7052 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.1688, allocations: 7.984 kB / 0.7052 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.1688, allocations: 19.88 kB / 0.7052 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.1689, allocations: 44.09 kB / 0.7053 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1689, allocations: 0 / 0.7053 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1689, allocations: 0 / 0.7053 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.169, allocations: 4 kB / 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006198/0.1696, allocations: 319.9 kB / 0.7056 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1696, allocations: 8.031 kB / 0.7056 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.385e-05/0.1696, allocations: 4.188 kB / 0.7056 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.1697, allocations: 38.73 kB / 0.7056 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.1697, allocations: 8.891 kB / 0.7056 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.1698, allocations: 110.5 kB / 0.7057 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1698, allocations: 4.375 kB / 0.7058 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.1698, allocations: 4.375 kB / 0.7058 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.17, allocations: 57.61 kB / 0.7058 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.17, allocations: 0 / 0.7058 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.17, allocations: 0 / 0.7058 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.17, allocations: 0 / 0.7058 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.846e-05/0.17, allocations: 23.98 kB / 0.7058 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.1705, allocations: 243.9 kB / 0.7061 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.707e-05/0.1705, allocations: 46.45 kB / 0.7061 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.798e-05/0.1706, allocations: 20.97 kB / 0.7061 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.1706, allocations: 0 / 0.7061 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.1708, allocations: 93.09 kB / 0.7062 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.1708, allocations: 0 / 0.7062 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0003081/0.1711, allocations: 143.5 kB / 0.7064 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.1712, allocations: 89.09 kB / 0.7064 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.302e-05/0.1712, allocations: 113.8 kB / 0.7066 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.1713, allocations: 29.7 kB / 0.7066 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.1713, allocations: 84.14 kB / 0.7067 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.1714, allocations: 19.91 kB / 0.7067 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.1714, allocations: 29.7 kB / 0.7067 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1716, allocations: 318.8 kB / 0.707 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.732e-05/0.1716, allocations: 19.92 kB / 0.707 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.316e-05/0.1716, allocations: 42.56 kB / 0.7071 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1718, allocations: 110.4 kB / 0.7072 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1718, allocations: 0 / 0.7072 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001702/0.1719, allocations: 123.3 kB / 0.7073 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.172, allocations: 37.69 kB / 0.7073 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.172, allocations: 4.062 kB / 0.7073 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.172, allocations: 7.938 kB / 0.7073 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.841e-05/0.172, allocations: 0 / 0.7073 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.172, allocations: 4 kB / 0.7073 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.966e-05/0.1721, allocations: 7.984 kB / 0.7074 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.1721, allocations: 4 kB / 0.7074 GB, free: 12.85 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000128/0.1722, allocations: 151.5 kB / 0.7075 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.1722, allocations: 7.953 kB / 0.7075 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.1723, allocations: 8.359 kB / 0.7075 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1723, allocations: 4 kB / 0.7075 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1723, allocations: 4.062 kB / 0.7075 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1723, allocations: 0 / 0.7075 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004446/0.1727, allocations: 371.2 kB / 0.7079 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1727, allocations: 7.922 kB / 0.7079 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.262e-05/0.1727, allocations: 11.94 kB / 0.7079 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1727, allocations: 0 / 0.7079 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1728, allocations: 0 / 0.7079 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.1728, allocations: 4 kB / 0.7079 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1728, allocations: 7.938 kB / 0.7079 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.173, allocations: 229.2 kB / 0.7081 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.173, allocations: 7.938 kB / 0.7081 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.173, allocations: 8 kB / 0.7081 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.49e-05/0.1731, allocations: 4 kB / 0.7081 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.1732, allocations: 15.86 kB / 0.7082 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.1732, allocations: 4 kB / 0.7082 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.158e-05/0.1732, allocations: 91.27 kB / 0.7083 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1732, allocations: 0 / 0.7083 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002238/0.1735, allocations: 20 kB / 0.7083 GB, free: 11.82 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0005312/0.174, allocations: 0.7609 MB / 0.709 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001742/0.1742, allocations: 107.4 kB / 0.7091 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.1742, allocations: 7.938 kB / 0.7091 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.828e-05/0.1743, allocations: 83.39 kB / 0.7092 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.1746, allocations: 26.2 kB / 0.7092 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.176, allocations: 1.416 MB / 0.7106 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.1763, allocations: 0.6922 MB / 0.7113 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.575e-05/0.1764, allocations: 4 kB / 0.7113 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.1764, allocations: 15.42 kB / 0.7113 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.1764, allocations: 4 kB / 0.7113 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.1989, allocations: 2.07 MB / 0.7133 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.71, allocations: 6.297 kB / 0.7133 GB, free: 6.598 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay.fmu > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.213191358954646] Failed to read output from testmodel.py, exit status != 0: 10.862853358965367 10.890344972 10.71644318 Calling exit ...