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.00131/0.00131, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001491/0.001491, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.361/1.361, allocations: 230.6 MB / 256 MB, free: 7.793 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.7976/0.7976, allocations: 134 MB / 446.4 MB, free: 9.902 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_BooleanDelay",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.00196/0.00196, allocations: 67.33 kB / 0.6184 GB, free: 7.027 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1596, allocations: 85.92 MB / 0.7024 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002642/0.1622, allocations: 1.428 MB / 0.7037 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009385/0.1631, allocations: 462.8 kB / 0.7042 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.1632, allocations: 0 / 0.7042 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.1632, allocations: 0 / 0.7042 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.406e-05/0.1633, allocations: 7.875 kB / 0.7042 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.1634, allocations: 19.97 kB / 0.7042 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.1636, allocations: 47.84 kB / 0.7043 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.374e-05/0.1636, allocations: 8 kB / 0.7043 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.922e-05/0.1637, allocations: 23.86 kB / 0.7043 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.996e-05/0.1638, allocations: 19.92 kB / 0.7043 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.1638, allocations: 4 kB / 0.7043 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.1638, allocations: 7.938 kB / 0.7043 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.138e-05/0.1638, allocations: 15.92 kB / 0.7043 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.1639, allocations: 15.92 kB / 0.7043 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.164, allocations: 44.05 kB / 0.7044 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.164, allocations: 4 kB / 0.7044 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.893e-06/0.164, allocations: 0 / 0.7044 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.164, allocations: 0 / 0.7044 GB, free: 15.09 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.000602/0.1646, allocations: 319.9 kB / 0.7047 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1647, allocations: 12.03 kB / 0.7047 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.1647, allocations: 34.73 kB / 0.7047 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.1647, allocations: 8.891 kB / 0.7048 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.1648, allocations: 114.5 kB / 0.7049 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1649, allocations: 384 / 0.7049 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.1649, allocations: 4.375 kB / 0.7049 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.165, allocations: 87.44 kB / 0.705 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.165, allocations: 0 / 0.705 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.165, allocations: 4 kB / 0.705 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.165, allocations: 0 / 0.705 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.862e-05/0.1651, allocations: 57.62 kB / 0.705 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.1655, allocations: 235.9 kB / 0.7052 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.1656, allocations: 64.27 kB / 0.7053 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.1657, allocations: 46.67 kB / 0.7053 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.1657, allocations: 0 / 0.7053 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.1659, allocations: 130.7 kB / 0.7055 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.1659, allocations: 0 / 0.7055 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0003354/0.1662, allocations: 206.7 kB / 0.7057 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.1663, allocations: 81.11 kB / 0.7057 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.222e-05/0.1664, allocations: 109.8 kB / 0.7058 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1664, allocations: 33.7 kB / 0.7059 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.1665, allocations: 84.14 kB / 0.706 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.1665, allocations: 19.84 kB / 0.706 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.1666, allocations: 25.98 kB / 0.706 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1667, allocations: 326.8 kB / 0.7063 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.984e-05/0.1667, allocations: 37.7 kB / 0.7063 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-05/0.1668, allocations: 72.2 kB / 0.7064 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.1669, allocations: 117.9 kB / 0.7065 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1669, allocations: 0 / 0.7065 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001848/0.1671, allocations: 161 kB / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/0.1672, allocations: 33.69 kB / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1672, allocations: 0 / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1672, allocations: 4 kB / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.478e-05/0.1672, allocations: 4 kB / 0.7067 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1672, allocations: 0 / 0.7067 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.932e-05/0.1673, allocations: 4 kB / 0.7067 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1673, allocations: 7.984 kB / 0.7067 GB, free: 12.37 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.0001222/0.1674, allocations: 158.7 kB / 0.7069 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.1674, allocations: 11.95 kB / 0.7069 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.1675, allocations: 8.312 kB / 0.7069 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1675, allocations: 0 / 0.7069 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.1675, allocations: 7.984 kB / 0.7069 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1675, allocations: 3.984 kB / 0.7069 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.1679, allocations: 389 kB / 0.7073 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1679, allocations: 0 / 0.7073 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.538e-06/0.1679, allocations: 3.984 kB / 0.7073 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1679, allocations: 0 / 0.7073 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1679, allocations: 4 kB / 0.7073 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1679, allocations: 4 kB / 0.7073 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1679, allocations: 3.938 kB / 0.7073 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.1682, allocations: 266.8 kB / 0.7076 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.1682, allocations: 3.953 kB / 0.7076 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.1682, allocations: 7.984 kB / 0.7076 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.1683, allocations: 12.06 kB / 0.7076 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.1684, allocations: 12.02 kB / 0.7076 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.1684, allocations: 7.938 kB / 0.7076 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.54e-05/0.1685, allocations: 87.81 kB / 0.7077 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1685, allocations: 0 / 0.7077 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000224/0.1687, allocations: 16 kB / 0.7077 GB, free: 11.28 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.0005474/0.1692, allocations: 0.7938 MB / 0.7085 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.1695, allocations: 167 kB / 0.7086 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.1695, allocations: 4 kB / 0.7086 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.1696, allocations: 105.1 kB / 0.7087 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.1699, allocations: 30.14 kB / 0.7088 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.1713, allocations: 1.571 MB / 0.7103 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.716e-05/0.1714, allocations: 79.31 kB / 0.7104 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.785e-05/0.1714, allocations: 0 / 0.7104 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.1715, allocations: 15.44 kB / 0.7104 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.1715, allocations: 0 / 0.7104 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.2028, allocations: 2.49 MB / 0.7128 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/10.99, allocations: 1.5 kB / 0.7128 GB, free: 5.941 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 sys.exit(0), Time elapsed: 14.362100995145738] Failed to read output from testmodel.py, exit status != 0: 11.09711630595848 11.122293941 10.953870727 Calling exit ...