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.001358/0.001358, allocations: 119.2 kB / 19.69 MB, free: 2.199 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.001511/0.001511, allocations: 225.6 kB / 23.01 MB, free: 5.043 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.395/1.395, 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/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9207/0.9207, allocations: 150 MB / 463.2 MB, free: 10.47 MB / 366.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="me",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.002088/0.002088, allocations: 70.61 kB / 0.6412 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1777, allocations: 89.17 MB / 0.7283 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002864/0.1806, allocations: 1.449 MB / 0.7297 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009183/0.1815, allocations: 474.8 kB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.1815, allocations: 4 kB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.072e-05/0.1816, allocations: 3.938 kB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.802e-05/0.1816, allocations: 11.92 kB / 0.7302 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.1818, allocations: 23.92 kB / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.1819, allocations: 47.84 kB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.608e-05/0.182, allocations: 8 kB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.791e-05/0.1821, allocations: 23.86 kB / 0.7303 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.576e-05/0.1821, allocations: 15.92 kB / 0.7303 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.1822, allocations: 4 kB / 0.7303 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.1822, allocations: 11.94 kB / 0.7303 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.1822, allocations: 15.97 kB / 0.7303 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.1823, allocations: 19.88 kB / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.1824, allocations: 40.11 kB / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1824, allocations: 0 / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1824, allocations: 0 / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1824, allocations: 0 / 0.7304 GB, free: 15.16 MB / 0.5606 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.000604/0.183, allocations: 327.8 kB / 0.7307 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.183, allocations: 12.03 kB / 0.7307 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.595e-05/0.1831, allocations: 34.73 kB / 0.7308 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.1831, allocations: 4.938 kB / 0.7308 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.1832, allocations: 114.5 kB / 0.7309 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.1832, allocations: 4.312 kB / 0.7309 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.1833, allocations: 4.375 kB / 0.7309 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.1834, allocations: 61.78 kB / 0.7309 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1834, allocations: 0 / 0.7309 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.1834, allocations: 0 / 0.7309 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1834, allocations: 4 kB / 0.7309 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.634e-05/0.1835, allocations: 16 kB / 0.731 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.1839, allocations: 247.9 kB / 0.7312 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.938e-05/0.184, allocations: 34.52 kB / 0.7312 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.184, allocations: 16.97 kB / 0.7312 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.184, allocations: 4 kB / 0.7312 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.1842, allocations: 109 kB / 0.7313 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.1842, allocations: 0 / 0.7313 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0002941/0.1845, allocations: 147.3 kB / 0.7315 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.1846, allocations: 77.11 kB / 0.7316 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.1847, allocations: 121.9 kB / 0.7317 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1847, allocations: 29.69 kB / 0.7317 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.1848, allocations: 84.14 kB / 0.7318 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.1848, allocations: 19.84 kB / 0.7318 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.1848, allocations: 29.7 kB / 0.7318 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.185, allocations: 322.8 kB / 0.7321 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.541e-05/0.185, allocations: 15.98 kB / 0.7322 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.117e-05/0.1851, allocations: 38.52 kB / 0.7322 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.1852, allocations: 118 kB / 0.7323 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1852, allocations: 0 / 0.7323 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001736/0.1854, allocations: 123.3 kB / 0.7324 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.1854, allocations: 37.69 kB / 0.7325 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1854, allocations: 0 / 0.7325 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1854, allocations: 4 kB / 0.7325 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.39e-05/0.1855, allocations: 3.938 kB / 0.7325 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1855, allocations: 4 kB / 0.7325 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.694e-05/0.1855, allocations: 11.98 kB / 0.7325 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1856, allocations: 4 kB / 0.7325 GB, free: 12.75 MB / 0.5606 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.0001205/0.1857, allocations: 153.5 kB / 0.7326 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.1857, allocations: 3.953 kB / 0.7326 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.1857, allocations: 12.38 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1857, allocations: 3.984 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1857, allocations: 0 / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1857, allocations: 0 / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/0.1862, allocations: 375.5 kB / 0.733 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1862, allocations: 0 / 0.733 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.558e-06/0.1862, allocations: 8 kB / 0.733 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1862, allocations: 0 / 0.733 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.1862, allocations: 3.938 kB / 0.733 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1862, allocations: 0 / 0.733 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1862, allocations: 11.88 kB / 0.733 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.1864, allocations: 229.2 kB / 0.7333 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.1864, allocations: 3.953 kB / 0.7333 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.1865, allocations: 7.984 kB / 0.7333 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.921e-05/0.1866, allocations: 8 kB / 0.7333 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.1866, allocations: 15.92 kB / 0.7333 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1866, allocations: 7.938 kB / 0.7333 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.068e-05/0.1867, allocations: 87.27 kB / 0.7334 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-08/0.1867, allocations: 0 / 0.7334 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002507/0.1869, allocations: 16 kB / 0.7334 GB, free: 11.73 MB / 0.5606 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.0005587/0.1875, allocations: 0.761 MB / 0.7341 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001899/0.1877, allocations: 107.4 kB / 0.7342 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.1877, allocations: 0 / 0.7342 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.1878, allocations: 87.31 kB / 0.7343 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.1881, allocations: 26.53 kB / 0.7343 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.1895, allocations: 1.435 MB / 0.7357 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1899, allocations: 0.6884 MB / 0.7364 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.783e-05/0.1899, allocations: 4 kB / 0.7364 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.1899, allocations: 19.42 kB / 0.7364 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.1899, allocations: 0 / 0.7364 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.2173, allocations: 2.039 MB / 0.7384 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.81, allocations: 6.453 kB / 0.7384 GB, free: 6.523 MB / 0.5606 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 14.385756591102108] Failed to read output from testmodel.py, exit status != 0: 10.909134896937758 10.924803741 10.739270236 Calling exit ...