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.00143/0.00143, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002366/0.002366, allocations: 210.4 kB / 22.99 MB, free: 4.605 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9944/0.9944, allocations: 149.9 MB / 463 MB, free: 10.38 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.002187/0.002187, allocations: 79.23 kB / 0.641 GB, free: 10.2 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.174, allocations: 89.17 MB / 0.7281 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002687/0.1767, allocations: 1.426 MB / 0.7295 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008685/0.1776, allocations: 442.9 kB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.346e-05/0.1776, allocations: 4 kB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.1776, allocations: 7.922 kB / 0.73 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.83e-05/0.1777, allocations: 3.938 kB / 0.73 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.1779, allocations: 27.91 kB / 0.73 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.178, allocations: 51.84 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1781, allocations: 8 kB / 0.73 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.884e-05/0.1782, allocations: 23.86 kB / 0.7301 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.162e-05/0.1783, allocations: 15.92 kB / 0.7301 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.1783, allocations: 4 kB / 0.7301 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.283e-05/0.1783, allocations: 4 kB / 0.7301 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.776e-05/0.1783, allocations: 11.94 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.1784, allocations: 19.91 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.1785, allocations: 40.11 kB / 0.7302 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1785, allocations: 0 / 0.7302 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1785, allocations: 0 / 0.7302 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.1785, allocations: 0 / 0.7302 GB, free: 15.01 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.0006061/0.1791, allocations: 323.9 kB / 0.7305 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1791, allocations: 12.03 kB / 0.7305 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.026e-05/0.1792, allocations: 38.75 kB / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.1792, allocations: 4.938 kB / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.1793, allocations: 122.4 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1793, allocations: 384 / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.1794, allocations: 4.375 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1795, allocations: 83.45 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1795, allocations: 0 / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-06/0.1795, allocations: 4 kB / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1795, allocations: 4 kB / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.393e-05/0.1796, allocations: 45.69 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.18, allocations: 239.9 kB / 0.731 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.1801, allocations: 72.25 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.54e-05/0.1802, allocations: 42.69 kB / 0.7311 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.1802, allocations: 0 / 0.7311 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.1804, allocations: 134.7 kB / 0.7312 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.1804, allocations: 0 / 0.7312 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0003352/0.1807, allocations: 210.7 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.1808, allocations: 89.09 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.974e-05/0.1809, allocations: 109.8 kB / 0.7316 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1809, allocations: 29.7 kB / 0.7317 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.181, allocations: 84.14 kB / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.181, allocations: 19.84 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.1811, allocations: 29.64 kB / 0.7318 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1812, allocations: 322.8 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.181e-05/0.1813, allocations: 41.69 kB / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.191e-05/0.1813, allocations: 68.27 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.1814, allocations: 113.9 kB / 0.7323 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1814, allocations: 4 kB / 0.7323 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001905/0.1816, allocations: 157 kB / 0.7325 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.1817, allocations: 33.7 kB / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1817, allocations: 0 / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1817, allocations: 4 kB / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.488e-05/0.1817, allocations: 3.984 kB / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1818, allocations: 4 kB / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.786e-05/0.1818, allocations: 12.06 kB / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1818, allocations: 4 kB / 0.7325 GB, free: 12.27 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.0001219/0.182, allocations: 151.5 kB / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.182, allocations: 7.953 kB / 0.7327 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.182, allocations: 12.31 kB / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.182, allocations: 0 / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.182, allocations: 0 / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.182, allocations: 3.938 kB / 0.7327 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.1824, allocations: 389 kB / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1824, allocations: 4.312 kB / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.935e-06/0.1825, allocations: 4.062 kB / 0.7331 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1825, allocations: 4 kB / 0.7331 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1825, allocations: 4 kB / 0.7331 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1825, allocations: 7.922 kB / 0.7331 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1825, allocations: 3.938 kB / 0.7331 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.1827, allocations: 262.8 kB / 0.7333 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.1827, allocations: 7.953 kB / 0.7333 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.1828, allocations: 8 kB / 0.7333 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1829, allocations: 7.984 kB / 0.7334 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.1829, allocations: 11.92 kB / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.1829, allocations: 8 kB / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.845e-05/0.183, allocations: 83.28 kB / 0.7335 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.183, allocations: 0 / 0.7335 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00024/0.1832, allocations: 23.98 kB / 0.7335 GB, free: 11.18 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.0005561/0.1838, allocations: 0.7803 MB / 0.7342 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.184, allocations: 170.7 kB / 0.7344 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.184, allocations: 0 / 0.7344 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.1841, allocations: 109.1 kB / 0.7345 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.1844, allocations: 21.06 kB / 0.7345 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.186, allocations: 1.585 MB / 0.7361 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.96e-05/0.186, allocations: 67.34 kB / 0.7361 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.048e-05/0.1861, allocations: 11.92 kB / 0.7361 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.1861, allocations: 15.44 kB / 0.7362 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.1861, allocations: 0 / 0.7362 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.2153, allocations: 2.486 MB / 0.7386 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.18, allocations: 7.672 kB / 0.7386 GB, free: 5.859 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: 15.057517156936228] Failed to read output from testmodel.py, exit status != 0: 11.285970204044133 11.302040809 11.120410439 Calling exit ...