Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001361/0.001361, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.00144/0.00144, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.582/1.582, allocations: 230.6 MB / 254.2 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.047/1.047, allocations: 150 MB / 460.2 MB, free: 5.258 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001994/0.001994, allocations: 62.62 kB / 0.6368 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1678, allocations: 89.13 MB / 0.7238 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.003005/0.1708, allocations: 1.437 MB / 0.7252 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00093/0.1717, allocations: 472.7 kB / 0.7257 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-05/0.1718, allocations: 0 / 0.7257 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.1718, allocations: 7.922 kB / 0.7257 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.1719, allocations: 11.94 kB / 0.7257 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.172, allocations: 19.92 kB / 0.7257 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.1722, allocations: 59.78 kB / 0.7258 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.838e-05/0.1723, allocations: 3.984 kB / 0.7258 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.122e-05/0.1723, allocations: 27.92 kB / 0.7258 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.76e-05/0.1724, allocations: 19.86 kB / 0.7258 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1724, allocations: 4 kB / 0.7258 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.1724, allocations: 4 kB / 0.7258 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.1725, allocations: 4 kB / 0.7258 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.1725, allocations: 23.86 kB / 0.7258 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.1726, allocations: 44.09 kB / 0.7259 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1726, allocations: 0 / 0.7259 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1726, allocations: 0 / 0.7259 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.1726, allocations: 7.938 kB / 0.7259 GB, free: 1.949 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.0006636/0.1733, allocations: 397 kB / 0.7263 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1733, allocations: 8.031 kB / 0.7263 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.099e-05/0.1734, allocations: 192 / 0.7263 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.986e-05/0.1734, allocations: 42.73 kB / 0.7263 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.1734, allocations: 0.9375 kB / 0.7263 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.1736, allocations: 172.3 kB / 0.7265 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1736, allocations: 12.36 kB / 0.7265 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.1736, allocations: 384 / 0.7265 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.1737, allocations: 57.61 kB / 0.7265 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1738, allocations: 0 / 0.7265 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.1738, allocations: 8 kB / 0.7266 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1738, allocations: 0 / 0.7266 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.678e-05/0.1738, allocations: 12 kB / 0.7266 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.1743, allocations: 280.8 kB / 0.7268 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.642e-05/0.1744, allocations: 38.52 kB / 0.7269 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.265e-05/0.1744, allocations: 24.97 kB / 0.7269 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1744, allocations: 0 / 0.7269 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.1746, allocations: 101 kB / 0.727 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.1746, allocations: 0 / 0.727 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0003087/0.1749, allocations: 135.3 kB / 0.7271 GB, free: 496 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.175, allocations: 89.09 kB / 0.7272 GB, free: 388 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1751, allocations: 113.8 kB / 0.7273 GB, free: 264 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.1751, allocations: 29.7 kB / 0.7273 GB, free: 228 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.1752, allocations: 84.22 kB / 0.7274 GB, free: 140 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.1752, allocations: 23.83 kB / 0.7274 GB, free: 116 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.1753, allocations: 25.7 kB / 0.7275 GB, free: 84 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1754, allocations: 318.8 kB / 0.7278 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.25e-05/0.1755, allocations: 23.92 kB / 0.7278 GB, free: 15.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.528e-05/0.1755, allocations: 38.84 kB / 0.7278 GB, free: 15.69 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.1757, allocations: 106 kB / 0.7279 GB, free: 15.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1757, allocations: 0 / 0.7279 GB, free: 15.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000189/0.1759, allocations: 127.3 kB / 0.7281 GB, free: 15.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.1759, allocations: 39.19 kB / 0.7281 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1759, allocations: 8.062 kB / 0.7281 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.1759, allocations: 0 / 0.7281 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.88e-05/0.176, allocations: 8 kB / 0.7281 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.176, allocations: 0 / 0.7281 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.1761, allocations: 7.984 kB / 0.7281 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.1761, allocations: 4 kB / 0.7281 GB, free: 15.36 MB / 0.545 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.0001798/0.1763, allocations: 148.4 kB / 0.7283 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.1763, allocations: 7.953 kB / 0.7283 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.1763, allocations: 16.36 kB / 0.7283 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1763, allocations: 4 kB / 0.7283 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/0.1764, allocations: 0 / 0.7283 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1764, allocations: 0 / 0.7283 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005516/0.1769, allocations: 404.1 kB / 0.7287 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1769, allocations: 0 / 0.7287 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-05/0.1769, allocations: 3.938 kB / 0.7287 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1769, allocations: 0 / 0.7287 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1769, allocations: 4 kB / 0.7287 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1769, allocations: 0 / 0.7287 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1769, allocations: 7.938 kB / 0.7287 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.1772, allocations: 229.7 kB / 0.7289 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.823e-05/0.1773, allocations: 85.05 kB / 0.729 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.1773, allocations: 12 kB / 0.729 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1775, allocations: 7.984 kB / 0.729 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.1775, allocations: 15.92 kB / 0.729 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.1775, allocations: 4 kB / 0.729 GB, free: 14.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.126e-05/0.1776, allocations: 99.33 kB / 0.7291 GB, free: 14.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1776, allocations: 0 / 0.7291 GB, free: 14.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002402/0.1778, allocations: 12 kB / 0.7291 GB, free: 14.2 MB / 0.545 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.0006551/0.1785, allocations: 0.7609 MB / 0.7299 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.1787, allocations: 119.3 kB / 0.73 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1787, allocations: 0 / 0.73 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.1789, allocations: 75.39 kB / 0.7301 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.1792, allocations: 19.92 kB / 0.7301 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.1809, allocations: 1.429 MB / 0.7315 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.1814, allocations: 0.6892 MB / 0.7321 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.407e-05/0.1814, allocations: 4 kB / 0.7321 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.1815, allocations: 19.42 kB / 0.7322 GB, free: 10.91 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1815, allocations: 0 / 0.7322 GB, free: 10.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.1994, allocations: 1.925 MB / 0.734 GB, free: 9.098 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/8.31, allocations: 13.97 kB / 0.7341 GB, free: 9.086 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay.fmu > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.375985292019323] Failed to read output from testmodel.py, exit status != 0: 8.436335574020632 8.452822216 8.277028196 Calling exit ...