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.001758/0.001758, 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.002173/0.002173, allocations: 211.9 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9982/0.9982, allocations: 149.9 MB / 463.1 MB, free: 10.36 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.002238/0.002238, allocations: 66.17 kB / 0.6411 GB, free: 10.18 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1656, allocations: 89.17 MB / 0.7282 GB, free: 1.074 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002105/0.1677, allocations: 0.9044 MB / 0.7291 GB, free: 176 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.1697, allocations: 1.455 MB / 0.7305 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.2e-05/0.1697, allocations: 0 / 0.7305 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.562e-05/0.1698, allocations: 19.73 kB / 0.7305 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.17, allocations: 63.56 kB / 0.7306 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.171, allocations: 436.8 kB / 0.731 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005373/0.1715, allocations: 495.1 kB / 0.7314 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1716, allocations: 33.83 kB / 0.7315 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.1718, allocations: 191.6 kB / 0.7317 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.1721, allocations: 139.4 kB / 0.7318 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.824e-05/0.1722, allocations: 52 kB / 0.7318 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1723, allocations: 63.98 kB / 0.7319 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.406e-05/0.1723, allocations: 35.86 kB / 0.7319 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.1725, allocations: 155.5 kB / 0.7321 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005353/0.173, allocations: 0.4909 MB / 0.7326 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1731, allocations: 0 / 0.7326 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1731, allocations: 0 / 0.7326 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.1731, allocations: 0 / 0.7326 GB, free: 12.57 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.0008618/0.1739, allocations: 0.5663 MB / 0.7331 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.174, allocations: 8.031 kB / 0.7331 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.507e-05/0.174, allocations: 42.73 kB / 0.7332 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.552e-05/0.1741, allocations: 28.84 kB / 0.7332 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.1743, allocations: 169.2 kB / 0.7334 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.1744, allocations: 12.38 kB / 0.7334 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/0.1744, allocations: 32.3 kB / 0.7334 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.1746, allocations: 117.6 kB / 0.7335 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1747, allocations: 7.875 kB / 0.7335 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1747, allocations: 4 kB / 0.7335 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1747, allocations: 0 / 0.7335 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.1748, allocations: 59.91 kB / 0.7336 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.1758, allocations: 0.7461 MB / 0.7343 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.176, allocations: 122.4 kB / 0.7344 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.122e-05/0.1761, allocations: 51.48 kB / 0.7345 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.1761, allocations: 0 / 0.7345 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003414/0.1765, allocations: 175.5 kB / 0.7346 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.1765, allocations: 0 / 0.7346 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.0004969/0.177, allocations: 229.3 kB / 0.7349 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.971e-05/0.1771, allocations: 136.5 kB / 0.735 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.1774, allocations: 244.8 kB / 0.7352 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.566e-05/0.1774, allocations: 37.7 kB / 0.7353 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.1775, allocations: 136.5 kB / 0.7354 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.1776, allocations: 35.73 kB / 0.7354 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.1778, allocations: 93.64 kB / 0.7355 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1779, allocations: 330.8 kB / 0.7358 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.1784, allocations: 274.9 kB / 0.7361 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000456/0.1788, allocations: 357.5 kB / 0.7364 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004925/0.1793, allocations: 368.9 kB / 0.7368 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1793, allocations: 7.938 kB / 0.7368 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001068/0.1804, allocations: 0.691 MB / 0.7375 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.1805, allocations: 137.1 kB / 0.7376 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1805, allocations: 4.25 kB / 0.7376 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1805, allocations: 8 kB / 0.7376 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/0.1806, allocations: 8 kB / 0.7376 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.1806, allocations: 11.92 kB / 0.7376 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006456/0.1813, allocations: 111.7 kB / 0.7377 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/0.1813, allocations: 31.98 kB / 0.7378 GB, free: 6.711 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.0001853/0.1815, allocations: 146.4 kB / 0.7379 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.1816, allocations: 23.84 kB / 0.7379 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.1816, allocations: 21.38 kB / 0.7379 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1816, allocations: 7.984 kB / 0.738 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.1816, allocations: 0 / 0.738 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.1816, allocations: 11.92 kB / 0.738 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.1819, allocations: 208.7 kB / 0.7382 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1819, allocations: 4 kB / 0.7382 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.1819, allocations: 11.98 kB / 0.7382 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1819, allocations: 0 / 0.7382 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1819, allocations: 4 kB / 0.7382 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1819, allocations: 0 / 0.7382 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.1819, allocations: 4 kB / 0.7382 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.1823, allocations: 225.9 kB / 0.7384 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.1823, allocations: 23.8 kB / 0.7384 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.1823, allocations: 7.984 kB / 0.7384 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.258e-05/0.1824, allocations: 4 kB / 0.7384 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.1824, allocations: 15.92 kB / 0.7384 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.1825, allocations: 15.98 kB / 0.7385 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001682/0.1826, allocations: 164.5 kB / 0.7386 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1826, allocations: 0 / 0.7386 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000329/0.183, allocations: 67.98 kB / 0.7387 GB, free: 5.68 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.0006883/0.1836, allocations: 0.7592 MB / 0.7394 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007968/0.1844, allocations: 0.602 MB / 0.74 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1844, allocations: 8.062 kB / 0.74 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.1846, allocations: 59.86 kB / 0.7401 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.185, allocations: 71.53 kB / 0.7401 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0047/0.1897, allocations: 3.541 MB / 0.7436 GB, free: 248 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.1898, allocations: 116.9 kB / 0.7437 GB, free: 112 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.844e-05/0.1899, allocations: 21.62 kB / 0.7437 GB, free: 88 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.383e-05/0.19, allocations: 59.42 kB / 0.7438 GB, free: 28 kB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.19, allocations: 0 / 0.7438 GB, free: 28 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03555/0.2255, allocations: 7.548 MB / 0.7512 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.6, allocations: 2.406 kB / 0.7512 GB, free: 8.723 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.636495563201606] Failed to read output from testmodel.py, exit status != 0: 11.709764598868787 12.022507156 11.846769796 Calling exit ...