Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.001307/0.001307, allocations: 115 kB / 19.7 MB, free: 2.039 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.00159/0.00159, allocations: 224 kB / 23 MB, free: 4.941 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.9617/0.9617, allocations: 150 MB / 463.2 MB, free: 10.46 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.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",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.002016/0.002016, allocations: 71.42 kB / 0.6413 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1695, allocations: 89.18 MB / 0.7284 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002145/0.1717, allocations: 0.9447 MB / 0.7293 GB, free: 280 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00195/0.1736, allocations: 1.478 MB / 0.7307 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.1737, allocations: 4 kB / 0.7307 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.975e-05/0.1738, allocations: 15.75 kB / 0.7308 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.1739, allocations: 55.58 kB / 0.7308 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.1749, allocations: 455 kB / 0.7312 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000552/0.1755, allocations: 491.1 kB / 0.7317 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1756, allocations: 29.95 kB / 0.7317 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.1758, allocations: 183.6 kB / 0.7319 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.1761, allocations: 171.4 kB / 0.7321 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.076e-05/0.1761, allocations: 48 kB / 0.7321 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.1763, allocations: 63.98 kB / 0.7322 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.454e-05/0.1763, allocations: 43.84 kB / 0.7322 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.1765, allocations: 171.4 kB / 0.7324 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.177, allocations: 0.4909 MB / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.177, allocations: 0 / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.177, allocations: 4 kB / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.177, allocations: 0 / 0.7329 GB, free: 12.61 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008357/0.1779, allocations: 0.5624 MB / 0.7334 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1779, allocations: 12.02 kB / 0.7334 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.018e-05/0.178, allocations: 42.69 kB / 0.7335 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.41e-05/0.1781, allocations: 24.84 kB / 0.7335 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.1783, allocations: 177.2 kB / 0.7337 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/0.1783, allocations: 12.31 kB / 0.7337 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.619e-05/0.1784, allocations: 24.38 kB / 0.7337 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.1786, allocations: 121.6 kB / 0.7338 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1786, allocations: 3.938 kB / 0.7338 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1786, allocations: 0 / 0.7338 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1786, allocations: 4 kB / 0.7338 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.1787, allocations: 59.91 kB / 0.7339 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.1797, allocations: 0.8396 MB / 0.7347 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.1799, allocations: 118.4 kB / 0.7348 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.634e-05/0.18, allocations: 47.5 kB / 0.7349 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.18, allocations: 3.984 kB / 0.7349 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/0.1803, allocations: 176.9 kB / 0.735 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.1803, allocations: 0 / 0.735 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.0004602/0.1807, allocations: 230 kB / 0.7353 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.908e-05/0.1808, allocations: 140.5 kB / 0.7354 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.1811, allocations: 252.7 kB / 0.7356 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.414e-05/0.1812, allocations: 37.7 kB / 0.7357 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.1813, allocations: 128.5 kB / 0.7358 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.1813, allocations: 35.78 kB / 0.7358 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.1815, allocations: 89.66 kB / 0.7359 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1817, allocations: 330.8 kB / 0.7362 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.182, allocations: 148.1 kB / 0.7364 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.1823, allocations: 230.7 kB / 0.7366 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004731/0.1828, allocations: 372.8 kB / 0.7369 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1828, allocations: 0 / 0.7369 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009416/0.1837, allocations: 0.5585 MB / 0.7375 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.1839, allocations: 138.8 kB / 0.7376 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1839, allocations: 0 / 0.7376 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1839, allocations: 4 kB / 0.7376 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.634e-05/0.1839, allocations: 16 kB / 0.7376 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.184, allocations: 7.938 kB / 0.7376 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006115/0.1846, allocations: 115.9 kB / 0.7378 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/0.1846, allocations: 23.98 kB / 0.7378 GB, free: 7.117 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001785/0.1848, allocations: 158.3 kB / 0.7379 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.1848, allocations: 23.84 kB / 0.7379 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.827e-05/0.1849, allocations: 21.34 kB / 0.738 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1849, allocations: 0 / 0.738 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1849, allocations: 4 kB / 0.738 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.1849, allocations: 11.92 kB / 0.738 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.1852, allocations: 228.6 kB / 0.7382 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1852, allocations: 0 / 0.7382 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/0.1852, allocations: 8 kB / 0.7382 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1852, allocations: 0 / 0.7382 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.1852, allocations: 11.98 kB / 0.7382 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1852, allocations: 4 kB / 0.7382 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1852, allocations: 0 / 0.7382 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.1855, allocations: 215.4 kB / 0.7384 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/0.1856, allocations: 27.78 kB / 0.7385 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.1856, allocations: 8 kB / 0.7385 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.576e-05/0.1857, allocations: 7.984 kB / 0.7385 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.1857, allocations: 19.92 kB / 0.7385 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.1857, allocations: 4 kB / 0.7385 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001639/0.1859, allocations: 168.5 kB / 0.7387 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1859, allocations: 4 kB / 0.7387 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003208/0.1862, allocations: 60 kB / 0.7387 GB, free: 6.066 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006509/0.1868, allocations: 0.7697 MB / 0.7395 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007006/0.1875, allocations: 489.6 kB / 0.7399 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1875, allocations: 0 / 0.7399 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.1877, allocations: 68.5 kB / 0.74 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.1881, allocations: 60.83 kB / 0.7401 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/0.1922, allocations: 3.026 MB / 0.743 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.1926, allocations: 0.7281 MB / 0.7437 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.749e-05/0.1926, allocations: 17.64 kB / 0.7437 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.052e-05/0.1927, allocations: 63.41 kB / 0.7438 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.1927, allocations: 0 / 0.7438 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03686/0.2296, allocations: 6.58 MB / 0.7502 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.44, allocations: 4.062 kB / 0.7502 GB, free: 10.17 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.613272208000126] Failed to read output from testmodel.py, exit status != 0: 11.549985743000434 11.85288325 11.673184282 Calling exit ...