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.001272/0.001272, allocations: 100.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.00137/0.00137, allocations: 220.5 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.357/1.357, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.804/0.804, 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.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.001842/0.001842, allocations: 66 kB / 0.6192 GB, free: 6.961 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1604, allocations: 85.9 MB / 0.7031 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002577/0.163, allocations: 1.445 MB / 0.7045 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008164/0.1638, allocations: 442.9 kB / 0.7049 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.019e-05/0.1639, allocations: 0 / 0.7049 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.1639, allocations: 3.938 kB / 0.7049 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.888e-05/0.164, allocations: 11.94 kB / 0.705 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.1641, allocations: 15.92 kB / 0.705 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.1642, allocations: 59.83 kB / 0.705 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.129e-05/0.1643, allocations: 4 kB / 0.705 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.92e-05/0.1644, allocations: 23.86 kB / 0.7051 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.615e-05/0.1645, allocations: 19.92 kB / 0.7051 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1645, allocations: 4 kB / 0.7051 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.1645, allocations: 4 kB / 0.7051 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.1645, allocations: 11.92 kB / 0.7051 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.1646, allocations: 19.88 kB / 0.7051 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.1647, allocations: 44.09 kB / 0.7052 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1647, allocations: 0 / 0.7052 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1647, allocations: 0 / 0.7052 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.1647, allocations: 4 kB / 0.7052 GB, free: 15.04 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.0005906/0.1653, allocations: 319.9 kB / 0.7055 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1653, allocations: 11.97 kB / 0.7055 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.784e-05/0.1653, allocations: 4.188 kB / 0.7055 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.1654, allocations: 38.73 kB / 0.7055 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.1654, allocations: 8.891 kB / 0.7055 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.1655, allocations: 114.5 kB / 0.7056 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1655, allocations: 384 / 0.7056 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1655, allocations: 12.38 kB / 0.7056 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1657, allocations: 79.31 kB / 0.7057 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1657, allocations: 0 / 0.7057 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1657, allocations: 4 kB / 0.7057 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1657, allocations: 4 kB / 0.7057 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.826e-05/0.1658, allocations: 45.67 kB / 0.7058 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.1661, allocations: 231.9 kB / 0.706 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.1663, allocations: 76.19 kB / 0.7061 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/0.1663, allocations: 50.67 kB / 0.7061 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1663, allocations: 0 / 0.7061 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.1665, allocations: 126.8 kB / 0.7062 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.1665, allocations: 0 / 0.7062 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0003254/0.1669, allocations: 206.7 kB / 0.7064 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.1669, allocations: 81.11 kB / 0.7065 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.042e-05/0.167, allocations: 105.9 kB / 0.7066 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.167, allocations: 33.7 kB / 0.7066 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.1671, allocations: 84.12 kB / 0.7067 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.1671, allocations: 23.83 kB / 0.7067 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.1672, allocations: 21.72 kB / 0.7068 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1673, allocations: 327 kB / 0.7071 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.507e-05/0.1674, allocations: 49.64 kB / 0.7071 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.1674, allocations: 68.2 kB / 0.7072 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.1675, allocations: 110 kB / 0.7073 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1675, allocations: 0 / 0.7073 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001796/0.1677, allocations: 157 kB / 0.7074 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.1677, allocations: 37.69 kB / 0.7075 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1678, allocations: 0 / 0.7075 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1678, allocations: 11.88 kB / 0.7075 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.831e-05/0.1678, allocations: 64 / 0.7075 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1678, allocations: 8 kB / 0.7075 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.715e-05/0.1679, allocations: 11.98 kB / 0.7075 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.1679, allocations: 4 kB / 0.7075 GB, free: 12.3 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.0001093/0.168, allocations: 149.7 kB / 0.7077 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.168, allocations: 7.953 kB / 0.7077 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.168, allocations: 12.36 kB / 0.7077 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.168, allocations: 0 / 0.7077 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.168, allocations: 0 / 0.7077 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1681, allocations: 0 / 0.7077 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.1685, allocations: 400.9 kB / 0.7081 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1685, allocations: 0 / 0.7081 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.909e-06/0.1685, allocations: 3.938 kB / 0.7081 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1685, allocations: 0 / 0.7081 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1685, allocations: 4 kB / 0.7081 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1685, allocations: 0 / 0.7081 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1685, allocations: 3.938 kB / 0.7081 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.1688, allocations: 258.9 kB / 0.7083 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.1688, allocations: 11.94 kB / 0.7083 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.1688, allocations: 4 kB / 0.7083 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.831e-05/0.1689, allocations: 4 kB / 0.7083 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.1689, allocations: 23.86 kB / 0.7084 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.169, allocations: 96 / 0.7084 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.344e-05/0.169, allocations: 99.73 kB / 0.7085 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.169, allocations: 0 / 0.7085 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002211/0.1692, allocations: 16 kB / 0.7085 GB, free: 11.22 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.0005349/0.1698, allocations: 0.7899 MB / 0.7092 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.17, allocations: 162.8 kB / 0.7094 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.17, allocations: 7.938 kB / 0.7094 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.1701, allocations: 113.5 kB / 0.7095 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.1704, allocations: 24.02 kB / 0.7095 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.1718, allocations: 1.566 MB / 0.7111 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.117e-05/0.1719, allocations: 79.92 kB / 0.7111 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.059e-05/0.1719, allocations: 7.984 kB / 0.7111 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.172, allocations: 15.42 kB / 0.7112 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.172, allocations: 0 / 0.7112 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.1939, allocations: 2.142 MB / 0.7133 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.89, allocations: 8.719 kB / 0.7133 GB, free: 6.23 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.256787566002458] Failed to read output from testmodel.py, exit status != 0: 11.042180928052403 11.05725757 10.889713218 Calling exit ...