Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001757/0.001757, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00217/0.00217, allocations: 215.6 kB / 23.03 MB, free: 4.922 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.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002405/0.002405, allocations: 279.4 kB / 313.5 MB, free: 2.605 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.227/1.227, allocations: 180.6 MB / 0.5377 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Discrete_Examples_BooleanDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Discrete_Examples_BooleanDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002777/0.002777, allocations: 91.3 kB / 0.7402 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1665, allocations: 95.39 MB / 0.8334 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.003027/0.1695, allocations: 1.443 MB / 0.8348 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009211/0.1704, allocations: 444.6 kB / 0.8352 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.269e-05/0.1705, allocations: 0 / 0.8352 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.1705, allocations: 4 kB / 0.8352 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.381e-05/0.1706, allocations: 11.86 kB / 0.8352 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.1708, allocations: 15.98 kB / 0.8352 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.1709, allocations: 47.8 kB / 0.8353 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.171, allocations: 15.97 kB / 0.8353 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.133e-05/0.1711, allocations: 19.88 kB / 0.8353 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.453e-05/0.1712, allocations: 23.92 kB / 0.8353 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.1712, allocations: 0 / 0.8353 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.1712, allocations: 4 kB / 0.8353 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/0.1712, allocations: 7.984 kB / 0.8353 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.1713, allocations: 15.94 kB / 0.8354 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.1714, allocations: 52.03 kB / 0.8354 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1714, allocations: 7.938 kB / 0.8354 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1714, allocations: 0 / 0.8354 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.1714, allocations: 0 / 0.8354 GB, free: 6.277 MB / 0.5762 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.0006102/0.172, allocations: 323.8 kB / 0.8357 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1721, allocations: 9.938 kB / 0.8357 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.408e-05/0.1721, allocations: 192 / 0.8357 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.393e-05/0.1721, allocations: 46.69 kB / 0.8358 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.1722, allocations: 4.891 kB / 0.8358 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.1723, allocations: 106.5 kB / 0.8359 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.1723, allocations: 8.375 kB / 0.8359 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.1723, allocations: 8.359 kB / 0.8359 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.1725, allocations: 79.33 kB / 0.836 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.1725, allocations: 0 / 0.836 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1725, allocations: 0 / 0.836 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1725, allocations: 0 / 0.836 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.723e-05/0.1726, allocations: 49.62 kB / 0.836 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.173, allocations: 243.9 kB / 0.8363 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.1731, allocations: 64.27 kB / 0.8363 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.1732, allocations: 46.69 kB / 0.8364 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.1732, allocations: 4 kB / 0.8364 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.1734, allocations: 130.7 kB / 0.8365 GB, free: 5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.1734, allocations: 0 / 0.8365 GB, free: 5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0003436/0.1738, allocations: 202.7 kB / 0.8367 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.1738, allocations: 81.05 kB / 0.8368 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.996e-05/0.1739, allocations: 113.8 kB / 0.8369 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1739, allocations: 25.7 kB / 0.8369 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.174, allocations: 96.12 kB / 0.837 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.174, allocations: 19.91 kB / 0.837 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.1741, allocations: 25.72 kB / 0.837 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1742, allocations: 318.8 kB / 0.8373 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.584e-05/0.1743, allocations: 49.69 kB / 0.8374 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.478e-05/0.1743, allocations: 68.25 kB / 0.8374 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.1745, allocations: 113.9 kB / 0.8376 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1745, allocations: 0 / 0.8376 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001905/0.1746, allocations: 153 kB / 0.8377 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.1747, allocations: 42.08 kB / 0.8377 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1747, allocations: 0 / 0.8377 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1747, allocations: 0 / 0.8377 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.518e-05/0.1748, allocations: 4 kB / 0.8377 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1748, allocations: 3.938 kB / 0.8378 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.182e-05/0.1748, allocations: 15.94 kB / 0.8378 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.1748, allocations: 0 / 0.8378 GB, free: 3.551 MB / 0.5762 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.0001179/0.175, allocations: 156.1 kB / 0.8379 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.175, allocations: 4 kB / 0.8379 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.175, allocations: 16.38 kB / 0.8379 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.175, allocations: 0 / 0.8379 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.175, allocations: 0 / 0.8379 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.175, allocations: 0 / 0.8379 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004401/0.1755, allocations: 396.9 kB / 0.8383 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1755, allocations: 0 / 0.8383 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.1755, allocations: 12.06 kB / 0.8383 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1755, allocations: 0 / 0.8383 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1755, allocations: 0 / 0.8383 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1755, allocations: 4 kB / 0.8383 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1755, allocations: 3.938 kB / 0.8383 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.1757, allocations: 266.8 kB / 0.8386 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.1758, allocations: 7.953 kB / 0.8386 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.1758, allocations: 0 / 0.8386 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1759, allocations: 11.98 kB / 0.8386 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.1759, allocations: 11.92 kB / 0.8386 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1759, allocations: 4 kB / 0.8386 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.285e-05/0.176, allocations: 91.81 kB / 0.8387 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.176, allocations: 0 / 0.8387 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002341/0.1762, allocations: 12 kB / 0.8387 GB, free: 2.461 MB / 0.5762 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.0005728/0.1768, allocations: 0.8055 MB / 0.8395 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.177, allocations: 166.7 kB / 0.8397 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.177, allocations: 4 kB / 0.8397 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1771, allocations: 113 kB / 0.8398 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.1774, allocations: 19.92 kB / 0.8398 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.179, allocations: 1.562 MB / 0.8413 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.711e-05/0.179, allocations: 67.47 kB / 0.8414 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.1791, allocations: 11.98 kB / 0.8414 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.1791, allocations: 15.44 kB / 0.8414 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.1791, allocations: 0 / 0.8414 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.2001, allocations: 2.173 MB / 0.8435 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.35, allocations: 19.38 kB / 0.8436 GB, free: 13.46 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Discrete_Examples_BooleanDelay.fmu > BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.498339614016004] Failed to read output from testmodel.py, exit status != 0: 11.50760152505245 11.532089577 11.356414159 Calling exit ...