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.001298/0.001298, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.001423/0.001423, allocations: 216.2 kB / 23.04 MB, free: 5.059 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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.002493/0.002493, allocations: 297.1 kB / 313.5 MB, free: 2.895 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.205/1.205, allocations: 180.6 MB / 0.5377 GB, free: 13.02 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.002822/0.002822, allocations: 96.88 kB / 0.7403 GB, free: 28.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1727, allocations: 95.39 MB / 0.8335 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.002646/0.1754, allocations: 1.459 MB / 0.8349 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008541/0.1762, allocations: 480.5 kB / 0.8353 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.587e-05/0.1763, allocations: 0 / 0.8353 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.1763, allocations: 7.938 kB / 0.8353 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.967e-05/0.1764, allocations: 11.92 kB / 0.8354 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.1766, allocations: 19.91 kB / 0.8354 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.1767, allocations: 47.86 kB / 0.8354 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1768, allocations: 7.984 kB / 0.8354 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.026e-05/0.1769, allocations: 27.88 kB / 0.8355 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.818e-05/0.1769, allocations: 23.84 kB / 0.8355 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.177, allocations: 4 kB / 0.8355 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.177, allocations: 4 kB / 0.8355 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.739e-05/0.177, allocations: 7.938 kB / 0.8355 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.1771, allocations: 19.92 kB / 0.8355 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.1772, allocations: 48.05 kB / 0.8356 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1772, allocations: 0 / 0.8356 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1772, allocations: 0 / 0.8356 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.1772, allocations: 0 / 0.8356 GB, free: 6.5 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.0006313/0.1778, allocations: 323.9 kB / 0.8359 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1779, allocations: 9.344 kB / 0.8359 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.005e-05/0.1779, allocations: 4.188 kB / 0.8359 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/0.1779, allocations: 30.75 kB / 0.8359 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.178, allocations: 12.83 kB / 0.8359 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1781, allocations: 110.5 kB / 0.836 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.1781, allocations: 8.359 kB / 0.836 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.1781, allocations: 8.375 kB / 0.836 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.1783, allocations: 49.62 kB / 0.8361 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1783, allocations: 0 / 0.8361 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.1783, allocations: 4 kB / 0.8361 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1783, allocations: 0 / 0.8361 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.215e-05/0.1783, allocations: 19.98 kB / 0.8361 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.1788, allocations: 243.8 kB / 0.8363 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.043e-05/0.1789, allocations: 42.56 kB / 0.8364 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.688e-05/0.1789, allocations: 16.98 kB / 0.8364 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.1789, allocations: 0 / 0.8364 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.1791, allocations: 101 kB / 0.8365 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.1791, allocations: 0 / 0.8365 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0003117/0.1795, allocations: 147.4 kB / 0.8366 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/0.1795, allocations: 77.11 kB / 0.8367 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1796, allocations: 121.8 kB / 0.8368 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.1797, allocations: 29.92 kB / 0.8369 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/0.1797, allocations: 88.14 kB / 0.8369 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.1797, allocations: 19.8 kB / 0.837 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.1798, allocations: 33.64 kB / 0.837 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1799, allocations: 318.8 kB / 0.8373 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.463e-05/0.18, allocations: 16 kB / 0.8373 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.609e-05/0.18, allocations: 42.5 kB / 0.8374 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.1802, allocations: 114.3 kB / 0.8375 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1802, allocations: 0 / 0.8375 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001678/0.1803, allocations: 131.3 kB / 0.8376 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.1804, allocations: 29.7 kB / 0.8376 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1804, allocations: 0 / 0.8376 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1804, allocations: 4 kB / 0.8376 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.78e-05/0.1804, allocations: 4.125 kB / 0.8376 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1804, allocations: 8 kB / 0.8376 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.45e-05/0.1805, allocations: 15.94 kB / 0.8376 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1805, allocations: 4 kB / 0.8377 GB, free: 4.098 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.0001223/0.1806, allocations: 156.1 kB / 0.8378 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.1806, allocations: 4 kB / 0.8378 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.1807, allocations: 8.375 kB / 0.8378 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1807, allocations: 0 / 0.8378 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1807, allocations: 4 kB / 0.8378 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1807, allocations: 0 / 0.8378 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.1811, allocations: 371.2 kB / 0.8382 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1811, allocations: 4 kB / 0.8382 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-06/0.1811, allocations: 0 / 0.8382 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1811, allocations: 0 / 0.8382 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1811, allocations: 4 kB / 0.8382 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1811, allocations: 3.984 kB / 0.8382 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1811, allocations: 3.938 kB / 0.8382 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.1813, allocations: 245.1 kB / 0.8384 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.1814, allocations: 4.047 kB / 0.8384 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.1814, allocations: 7.938 kB / 0.8384 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.81e-05/0.1815, allocations: 7.984 kB / 0.8384 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.1815, allocations: 15.92 kB / 0.8385 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1815, allocations: 4 kB / 0.8385 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.843e-05/0.1816, allocations: 83.28 kB / 0.8385 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1816, allocations: 0 / 0.8385 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002271/0.1818, allocations: 20 kB / 0.8386 GB, free: 3.07 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.0005326/0.1823, allocations: 0.7609 MB / 0.8393 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001857/0.1825, allocations: 107.3 kB / 0.8394 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.1825, allocations: 8 kB / 0.8394 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.173e-05/0.1826, allocations: 79.52 kB / 0.8395 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.1829, allocations: 22.95 kB / 0.8395 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.1844, allocations: 1.426 MB / 0.8409 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.1847, allocations: 0.6807 MB / 0.8416 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.918e-05/0.1847, allocations: 11.98 kB / 0.8416 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.1847, allocations: 19.44 kB / 0.8416 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.1847, allocations: 0 / 0.8416 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.2055, allocations: 2.081 MB / 0.8436 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.24, allocations: 9.688 kB / 0.8436 GB, free: 13.85 MB / 0.5919 GB " [Timeout remaining time 649] (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.308660363021772] Failed to read output from testmodel.py, exit status != 0: 11.40718099201331 11.432377032 11.250824365 Calling exit ...