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.0009594/0.0009594, allocations: 76.55 kB / 19.92 MB, free: 4.637 MB / 18.57 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.0009235/0.0009235, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.912/0.912, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.556/0.556, allocations: 114 MB / 373.9 MB, free: 8.684 MB / 346.7 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: Performance of FrontEnd - loaded program: time 4.118e-06/4.118e-06, allocations: 4 kB / 0.5542 GB, free: 1.668 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.597e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.664 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001508/0.001533, allocations: 0.9064 MB / 0.5551 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.003011, allocations: 1.47 MB / 0.5565 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.172e-05/0.003093, allocations: 0 / 0.5565 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.463e-05/0.003137, allocations: 19.73 kB / 0.5565 GB, free: 15.26 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.003276, allocations: 67.5 kB / 0.5566 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008611/0.004137, allocations: 439.7 kB / 0.557 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004633/0.004601, allocations: 499 kB / 0.5575 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.00474, allocations: 37.92 kB / 0.5575 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.004974, allocations: 267.5 kB / 0.5578 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.005132, allocations: 131.7 kB / 0.5579 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.629e-05/0.005178, allocations: 48 kB / 0.558 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.258e-05/0.005261, allocations: 64 kB / 0.558 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.169e-05/0.005302, allocations: 43.77 kB / 0.5581 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.005413, allocations: 135.8 kB / 0.5582 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004106/0.005824, allocations: 0.5611 MB / 0.5587 GB, free: 13.01 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.005829, allocations: 4 kB / 0.5587 GB, free: 13.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.00583, allocations: 0 / 0.5587 GB, free: 13.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.005837, allocations: 0 / 0.5587 GB, free: 13.01 MB / 490.7 MB 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.0006674/0.006504, allocations: 0.5517 MB / 0.5593 GB, free: 12.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.006546, allocations: 8.625 kB / 0.5593 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.006579, allocations: 42.73 kB / 0.5593 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.215e-05/0.006651, allocations: 36.8 kB / 0.5594 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.006795, allocations: 168.8 kB / 0.5595 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.006823, allocations: 24.3 kB / 0.5595 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.006859, allocations: 20.38 kB / 0.5596 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.007032, allocations: 117.6 kB / 0.5597 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.007046, allocations: 8.125 kB / 0.5597 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.00706, allocations: 384 / 0.5597 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.007069, allocations: 8.109 kB / 0.5597 GB, free: 11.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.256e-05/0.007161, allocations: 59.91 kB / 0.5597 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007875/0.007949, allocations: 0.7423 MB / 0.5605 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.008084, allocations: 114.4 kB / 0.5606 GB, free: 10.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.94e-05/0.008133, allocations: 51.48 kB / 0.5606 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.008145, allocations: 0 / 0.5606 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.008389, allocations: 178.6 kB / 0.5608 GB, free: 10.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.00839, allocations: 0 / 0.5608 GB, free: 10.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003406/0.008731, allocations: 225.4 kB / 0.561 GB, free: 10.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.008794, allocations: 140.5 kB / 0.5611 GB, free: 10.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.008967, allocations: 241.7 kB / 0.5614 GB, free: 10.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.009, allocations: 37.7 kB / 0.5614 GB, free: 9.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.009078, allocations: 132.5 kB / 0.5615 GB, free: 9.848 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.009103, allocations: 39.72 kB / 0.5616 GB, free: 9.809 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.009238, allocations: 89.66 kB / 0.5617 GB, free: 9.715 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.181e-05/0.00932, allocations: 334.8 kB / 0.562 GB, free: 9.379 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.009565, allocations: 274.9 kB / 0.5622 GB, free: 9.082 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.009818, allocations: 357.4 kB / 0.5626 GB, free: 8.672 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.01009, allocations: 369 kB / 0.5629 GB, free: 8.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.0101, allocations: 3.938 kB / 0.5629 GB, free: 8.246 MB / 490.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006051/0.0107, allocations: 0.6746 MB / 0.5636 GB, free: 7.516 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.282e-05/0.01077, allocations: 147 kB / 0.5637 GB, free: 7.348 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01078, allocations: 0 / 0.5637 GB, free: 7.348 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.0108, allocations: 4 kB / 0.5637 GB, free: 7.344 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.01086, allocations: 15.98 kB / 0.5638 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.01087, allocations: 3.938 kB / 0.5638 GB, free: 7.324 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.01119, allocations: 119.7 kB / 0.5639 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.01122, allocations: 19.98 kB / 0.5639 GB, free: 7.188 MB / 490.7 MB 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.0001084/0.01133, allocations: 154.4 kB / 0.564 GB, free: 7.027 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.01135, allocations: 15.91 kB / 0.5641 GB, free: 7.012 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.01138, allocations: 21.33 kB / 0.5641 GB, free: 6.992 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01139, allocations: 7.938 kB / 0.5641 GB, free: 6.984 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.01139, allocations: 4.938 kB / 0.5641 GB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.0114, allocations: 8 kB / 0.5641 GB, free: 6.973 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.01154, allocations: 216.5 kB / 0.5643 GB, free: 6.719 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.01155, allocations: 3.984 kB / 0.5643 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.01157, allocations: 8 kB / 0.5643 GB, free: 6.707 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01157, allocations: 3.938 kB / 0.5643 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.01159, allocations: 8 kB / 0.5643 GB, free: 6.695 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01159, allocations: 0 / 0.5643 GB, free: 6.695 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01159, allocations: 4 kB / 0.5643 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.01179, allocations: 224.6 kB / 0.5645 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.01181, allocations: 23.83 kB / 0.5646 GB, free: 6.422 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.01183, allocations: 8 kB / 0.5646 GB, free: 6.414 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.189e-05/0.01186, allocations: 7.938 kB / 0.5646 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.0119, allocations: 19.97 kB / 0.5646 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.01191, allocations: 4 kB / 0.5646 GB, free: 6.383 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.874e-05/0.012, allocations: 173.2 kB / 0.5648 GB, free: 6.211 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.012, allocations: 4 kB / 0.5648 GB, free: 6.207 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002145/0.01222, allocations: 63.95 kB / 0.5648 GB, free: 6.145 MB / 490.7 MB 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.000399/0.01262, allocations: 0.7599 MB / 0.5656 GB, free: 5.348 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004854/0.0131, allocations: 0.6085 MB / 0.5662 GB, free: 4.668 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01311, allocations: 0 / 0.5662 GB, free: 4.668 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.451e-05/0.01317, allocations: 63.89 kB / 0.5662 GB, free: 4.605 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.01345, allocations: 63.94 kB / 0.5663 GB, free: 4.547 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.01609, allocations: 3.543 MB / 0.5698 GB, free: 0.707 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.41e-05/0.01616, allocations: 116.9 kB / 0.5699 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.885e-05/0.0162, allocations: 18.39 kB / 0.5699 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/0.01627, allocations: 60.47 kB / 0.5699 GB, free: 0.5 MB / 490.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01627, allocations: 0 / 0.5699 GB, free: 0.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.03463, allocations: 7.632 MB / 0.5774 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.818/6.853, allocations: 11.73 kB / 0.5774 GB, free: 9.121 MB / 0.4948 GB " [Timeout remaining time 653] (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: 9.406596582382917] Failed to read output from testmodel.py, exit status != 0: 6.932647646404803 6.94774795 6.940078843 Calling exit ...