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.001539/0.001539, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001716/0.001716, allocations: 217.1 kB / 22.25 MB, free: 5.078 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.346/1.346, allocations: 230.6 MB / 256 MB, free: 8.004 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.8029/0.8029, allocations: 134 MB / 446.4 MB, free: 10.23 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.001881/0.001881, allocations: 71.61 kB / 0.6185 GB, free: 7.242 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1619, allocations: 85.9 MB / 0.7024 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002995/0.1649, allocations: 1.455 MB / 0.7038 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009047/0.1658, allocations: 482.8 kB / 0.7043 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.908e-05/0.1658, allocations: 0 / 0.7043 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.1658, allocations: 7.922 kB / 0.7043 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.021e-05/0.1659, allocations: 7.938 kB / 0.7043 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.1661, allocations: 19.92 kB / 0.7043 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.1662, allocations: 51.84 kB / 0.7044 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.917e-05/0.1663, allocations: 7.922 kB / 0.7044 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.711e-05/0.1664, allocations: 27.92 kB / 0.7044 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.132e-05/0.1665, allocations: 19.86 kB / 0.7044 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.1665, allocations: 4 kB / 0.7044 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.437e-05/0.1665, allocations: 8 kB / 0.7044 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.1665, allocations: 4 kB / 0.7044 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.745e-05/0.1666, allocations: 27.8 kB / 0.7045 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.1667, allocations: 44.09 kB / 0.7045 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1667, allocations: 0 / 0.7045 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1667, allocations: 0 / 0.7045 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.1667, allocations: 0 / 0.7045 GB, free: 15.25 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.0006208/0.1674, allocations: 323.9 kB / 0.7048 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1674, allocations: 8.031 kB / 0.7048 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.1674, allocations: 38.75 kB / 0.7049 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.1675, allocations: 4.891 kB / 0.7049 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.1676, allocations: 114.5 kB / 0.705 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1676, allocations: 4.375 kB / 0.705 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.1676, allocations: 8.375 kB / 0.705 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.1678, allocations: 45.81 kB / 0.705 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.1678, allocations: 0 / 0.705 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.1678, allocations: 4 kB / 0.705 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1678, allocations: 4 kB / 0.705 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.882e-05/0.1678, allocations: 19.98 kB / 0.7051 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.1683, allocations: 243.9 kB / 0.7053 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.29e-05/0.1684, allocations: 46.5 kB / 0.7053 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.1684, allocations: 12.98 kB / 0.7053 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.1684, allocations: 3.938 kB / 0.7054 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.1686, allocations: 105.1 kB / 0.7055 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.1686, allocations: 0 / 0.7055 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0003044/0.1689, allocations: 147.2 kB / 0.7056 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/0.169, allocations: 81.11 kB / 0.7057 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.318e-05/0.1691, allocations: 105.8 kB / 0.7058 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1691, allocations: 33.7 kB / 0.7058 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.1692, allocations: 80.22 kB / 0.7059 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.1692, allocations: 27.81 kB / 0.7059 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.1692, allocations: 25.72 kB / 0.7059 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1694, allocations: 326.8 kB / 0.7062 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.491e-05/0.1694, allocations: 16.22 kB / 0.7063 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.696e-05/0.1695, allocations: 42.5 kB / 0.7063 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1696, allocations: 114.3 kB / 0.7064 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1696, allocations: 4 kB / 0.7064 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001794/0.1698, allocations: 123.3 kB / 0.7065 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.1698, allocations: 37.64 kB / 0.7066 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1698, allocations: 0 / 0.7066 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1698, allocations: 0 / 0.7066 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.521e-05/0.1699, allocations: 7.984 kB / 0.7066 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1699, allocations: 0 / 0.7066 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.359e-05/0.1699, allocations: 8.062 kB / 0.7066 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.17, allocations: 4 kB / 0.7066 GB, free: 12.86 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.0001233/0.1701, allocations: 161.7 kB / 0.7067 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.1701, allocations: 7.953 kB / 0.7067 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.1701, allocations: 8.375 kB / 0.7068 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1701, allocations: 0 / 0.7068 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1701, allocations: 0 / 0.7068 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1701, allocations: 0 / 0.7068 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.1705, allocations: 375.2 kB / 0.7071 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1705, allocations: 0 / 0.7071 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.123e-05/0.1706, allocations: 11.92 kB / 0.7071 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.1706, allocations: 7.938 kB / 0.7071 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.1706, allocations: 0 / 0.7071 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1706, allocations: 0 / 0.7071 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1706, allocations: 3.938 kB / 0.7071 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.1708, allocations: 225.2 kB / 0.7073 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.1708, allocations: 7.953 kB / 0.7074 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.1708, allocations: 4 kB / 0.7074 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.876e-05/0.1709, allocations: 19.92 kB / 0.7074 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.171, allocations: 11.92 kB / 0.7074 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.171, allocations: 0 / 0.7074 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.959e-05/0.171, allocations: 87.38 kB / 0.7075 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.171, allocations: 3.938 kB / 0.7075 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002315/0.1713, allocations: 19.98 kB / 0.7075 GB, free: 11.83 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.0005337/0.1718, allocations: 0.771 MB / 0.7083 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001836/0.172, allocations: 107.3 kB / 0.7084 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.172, allocations: 0 / 0.7084 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.486e-05/0.1721, allocations: 75.41 kB / 0.7084 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.1724, allocations: 28.03 kB / 0.7085 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.1738, allocations: 1.421 MB / 0.7098 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.1741, allocations: 0.6883 MB / 0.7105 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.281e-05/0.1741, allocations: 11.92 kB / 0.7105 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.1742, allocations: 15.44 kB / 0.7105 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.1742, allocations: 0 / 0.7105 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.2045, allocations: 2.046 MB / 0.7125 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.7, allocations: 3.453 kB / 0.7125 GB, free: 6.629 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.022793247830123] Failed to read output from testmodel.py, exit status != 0: 10.796722961124033 10.811934709 10.642226106 Calling exit ...