Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.0008603/0.0008603, allocations: 72.5 kB / 19.92 MB, free: 4.633 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.001068/0.001068, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8948/0.8948, allocations: 177.2 MB / 203.5 MB, free: 5.734 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.537/0.537, allocations: 114 MB / 373.9 MB, free: 8.688 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.Reals.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.584e-06/2.584e-06, allocations: 0 / 0.5542 GB, free: 1.629 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/2.102e-05, allocations: 8.797 kB / 0.5542 GB, free: 1.621 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001238/0.001259, allocations: 0.6888 MB / 0.5549 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.002333, allocations: 1.155 MB / 0.556 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.943e-05/0.002373, allocations: 4 kB / 0.556 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.589e-05/0.002399, allocations: 3.938 kB / 0.556 GB, free: 15.76 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.127e-05/0.00247, allocations: 15.92 kB / 0.5561 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.002832, allocations: 131.5 kB / 0.5562 GB, free: 15.62 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.002978, allocations: 123.8 kB / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.705e-05/0.003065, allocations: 8 kB / 0.5563 GB, free: 15.49 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.486e-05/0.00315, allocations: 71.88 kB / 0.5564 GB, free: 15.42 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.955e-05/0.003229, allocations: 31.89 kB / 0.5564 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.003251, allocations: 16 kB / 0.5564 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.211e-05/0.003303, allocations: 20 kB / 0.5564 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.003324, allocations: 19.91 kB / 0.5565 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.003366, allocations: 27.98 kB / 0.5565 GB, free: 15.31 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.003524, allocations: 159.5 kB / 0.5566 GB, free: 15.15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003526, allocations: 0 / 0.5566 GB, free: 15.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003527, allocations: 0 / 0.5566 GB, free: 15.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.003531, allocations: 0 / 0.5566 GB, free: 15.15 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004585/0.003989, allocations: 327.8 kB / 0.557 GB, free: 14.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.004025, allocations: 12.62 kB / 0.557 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.478e-05/0.00405, allocations: 30.75 kB / 0.557 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.004083, allocations: 8.938 kB / 0.557 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.246e-05/0.004165, allocations: 117.8 kB / 0.5571 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.004181, allocations: 4.375 kB / 0.5571 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.004193, allocations: 8.375 kB / 0.5571 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.507e-05/0.004268, allocations: 46.23 kB / 0.5572 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.004275, allocations: 192 / 0.5572 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.004282, allocations: 384 / 0.5572 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.004287, allocations: 8.062 kB / 0.5572 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.665e-05/0.004323, allocations: 19.92 kB / 0.5572 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/0.004631, allocations: 275.9 kB / 0.5575 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.334e-05/0.004684, allocations: 30.58 kB / 0.5575 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.004703, allocations: 16.92 kB / 0.5575 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.004713, allocations: 7.922 kB / 0.5575 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.004824, allocations: 71.33 kB / 0.5576 GB, free: 14.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.004825, allocations: 0 / 0.5576 GB, free: 14.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001592/0.004984, allocations: 77.58 kB / 0.5577 GB, free: 13.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.005014, allocations: 51.41 kB / 0.5577 GB, free: 13.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.681e-05/0.005091, allocations: 137.3 kB / 0.5578 GB, free: 13.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.005105, allocations: 25.7 kB / 0.5579 GB, free: 13.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.005146, allocations: 88.14 kB / 0.5579 GB, free: 13.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.016e-05/0.005156, allocations: 7.953 kB / 0.558 GB, free: 13.63 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.005197, allocations: 33.7 kB / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.786e-05/0.005265, allocations: 318.8 kB / 0.5583 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.852e-05/0.005333, allocations: 65.69 kB / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.955e-05/0.005403, allocations: 96.19 kB / 0.5584 GB, free: 13.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.618e-05/0.005479, allocations: 88.27 kB / 0.5585 GB, free: 12.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.005481, allocations: 0 / 0.5585 GB, free: 12.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001828/0.005664, allocations: 204.9 kB / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.005691, allocations: 41.75 kB / 0.5588 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.005695, allocations: 0 / 0.5588 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.005706, allocations: 0 / 0.5588 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.681e-05/0.005752, allocations: 7.938 kB / 0.5588 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.005757, allocations: 0 / 0.5588 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.005871, allocations: 27.97 kB / 0.5588 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.005884, allocations: 7.984 kB / 0.5588 GB, free: 12.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 6.037e-05/0.005944, allocations: 117.8 kB / 0.5589 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.005952, allocations: 11.89 kB / 0.5589 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.813e-05/0.00597, allocations: 8 kB / 0.5589 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.005973, allocations: 0 / 0.5589 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.005976, allocations: 0 / 0.5589 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.005979, allocations: 0 / 0.5589 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.757e-05/0.006056, allocations: 144.8 kB / 0.5591 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.006058, allocations: 3.938 kB / 0.5591 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.027e-05/0.006068, allocations: 4 kB / 0.5591 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.006069, allocations: 0 / 0.5591 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.006076, allocations: 7.938 kB / 0.5591 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.006077, allocations: 0 / 0.5591 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006078, allocations: 0 / 0.5591 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.889e-05/0.006157, allocations: 100.9 kB / 0.5592 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.006167, allocations: 11.89 kB / 0.5592 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.006179, allocations: 4 kB / 0.5592 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.284e-05/0.006192, allocations: 0 / 0.5592 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.006214, allocations: 3.984 kB / 0.5592 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.006217, allocations: 4 kB / 0.5592 GB, free: 12.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.963e-05/0.006257, allocations: 99.27 kB / 0.5593 GB, free: 12.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006257, allocations: 0 / 0.5593 GB, free: 12.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000144/0.006401, allocations: 19.94 kB / 0.5593 GB, free: 12.08 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002738/0.006674, allocations: 0.6283 MB / 0.5599 GB, free: 11.42 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.006844, allocations: 161.1 kB / 0.5601 GB, free: 11.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.006845, allocations: 0 / 0.5601 GB, free: 11.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.191e-05/0.006867, allocations: 19.94 kB / 0.5601 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.007034, allocations: 20.73 kB / 0.5601 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.008114, allocations: 1.623 MB / 0.5617 GB, free: 9.461 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.961e-05/0.008153, allocations: 79.36 kB / 0.5618 GB, free: 9.363 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.035e-05/0.008174, allocations: 0 / 0.5618 GB, free: 9.363 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.008207, allocations: 20.48 kB / 0.5618 GB, free: 9.344 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008207, allocations: 0 / 0.5618 GB, free: 9.344 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.02342, allocations: 3.138 MB / 0.5649 GB, free: 6.383 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.694/6.717, allocations: 14.52 kB / 0.5649 GB, free: 6.371 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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_Reals_Sources_Validation_Pulse.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.217786177061498] Failed to read output from testmodel.py, exit status != 0: 6.808737300336361 6.82021941 6.815021248 Calling exit ...