Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.0009202/0.0009202, allocations: 76.55 kB / 19.93 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.001375/0.001375, allocations: 177.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.8922/0.8922, allocations: 177.1 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.5507/0.5507, allocations: 114 MB / 373.9 MB, free: 8.707 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.Routing.Validation.RealVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.5542 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.763e-05, allocations: 5.906 kB / 0.5542 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001485/0.001513, allocations: 0.6373 MB / 0.5548 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.002564, allocations: 0.8198 MB / 0.5556 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.057e-05/0.002624, allocations: 3.938 kB / 0.5556 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.002748, allocations: 7.938 kB / 0.5556 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.002869, allocations: 4 kB / 0.5556 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 6.294e-05/0.002932, allocations: 7.984 kB / 0.5556 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.003042, allocations: 59.83 kB / 0.5557 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.003202, allocations: 11.98 kB / 0.5557 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.461e-05/0.003276, allocations: 35.91 kB / 0.5557 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.336e-05/0.00336, allocations: 35.91 kB / 0.5558 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.003384, allocations: 4 kB / 0.5558 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-06/0.003392, allocations: 4 kB / 0.5558 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.003438, allocations: 15.98 kB / 0.5558 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.00347, allocations: 19.91 kB / 0.5558 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.993e-05/0.00357, allocations: 71.78 kB / 0.5559 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.003572, allocations: 0 / 0.5559 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003573, allocations: 3.938 kB / 0.5559 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.003577, allocations: 0 / 0.5559 GB, free: 1.051 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004247/0.004002, allocations: 314.1 kB / 0.5562 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.004039, allocations: 8.625 kB / 0.5562 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.004072, allocations: 42.73 kB / 0.5562 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.168e-05/0.004094, allocations: 8.891 kB / 0.5562 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.004227, allocations: 133.6 kB / 0.5564 GB, free: 500 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.00424, allocations: 384 / 0.5564 GB, free: 500 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.004251, allocations: 4.375 kB / 0.5564 GB, free: 496 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.004465, allocations: 135.8 kB / 0.5565 GB, free: 348 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.004473, allocations: 4.188 kB / 0.5565 GB, free: 344 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.004482, allocations: 4.375 kB / 0.5565 GB, free: 340 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.00449, allocations: 8.125 kB / 0.5565 GB, free: 332 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.004673, allocations: 123.8 kB / 0.5566 GB, free: 208 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.005108, allocations: 396 kB / 0.557 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.00524, allocations: 93.02 kB / 0.5571 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.653e-05/0.005337, allocations: 65.72 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.005348, allocations: 0 / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.005545, allocations: 38.55 kB / 0.5572 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.005545, allocations: 0 / 0.5572 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003759/0.005921, allocations: 185.4 kB / 0.5574 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.005975, allocations: 81.11 kB / 0.5575 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.113e-05/0.006046, allocations: 121.8 kB / 0.5576 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.006056, allocations: 25.7 kB / 0.5576 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.006101, allocations: 96.08 kB / 0.5577 GB, free: 15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.006118, allocations: 7.891 kB / 0.5577 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.006145, allocations: 17.97 kB / 0.5577 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.006253, allocations: 322.7 kB / 0.558 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.663e-05/0.006339, allocations: 51.92 kB / 0.5581 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.724e-05/0.006427, allocations: 69.64 kB / 0.5581 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.006587, allocations: 105.7 kB / 0.5582 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.006588, allocations: 384 / 0.5582 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000196/0.006784, allocations: 141.5 kB / 0.5584 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.006797, allocations: 4 kB / 0.5584 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.006803, allocations: 4 kB / 0.5584 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.006815, allocations: 8 kB / 0.5584 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.992e-05/0.006895, allocations: 19.97 kB / 0.5584 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.0069, allocations: 0 / 0.5584 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.111e-05/0.006941, allocations: 15.97 kB / 0.5584 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.006946, allocations: 0 / 0.5584 GB, free: 14.21 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.285e-05/0.007009, allocations: 125.8 kB / 0.5585 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.007027, allocations: 4 kB / 0.5585 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.007048, allocations: 11.47 kB / 0.5586 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.00705, allocations: 0 / 0.5586 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.007054, allocations: 4 kB / 0.5586 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.007057, allocations: 0 / 0.5586 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.007303, allocations: 160.6 kB / 0.5587 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.007304, allocations: 0 / 0.5587 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.201e-05/0.007346, allocations: 23.91 kB / 0.5587 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.007347, allocations: 3.938 kB / 0.5587 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.007356, allocations: 4 kB / 0.5587 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.007357, allocations: 0 / 0.5587 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.007357, allocations: 0 / 0.5587 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.007602, allocations: 306.6 kB / 0.559 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.007611, allocations: 7.953 kB / 0.559 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.007623, allocations: 7.984 kB / 0.559 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.904e-05/0.007692, allocations: 11.98 kB / 0.5591 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.007733, allocations: 7.984 kB / 0.5591 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.007737, allocations: 4 kB / 0.5591 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.98e-05/0.007776, allocations: 99.2 kB / 0.5592 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007777, allocations: 4.031 kB / 0.5592 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001626/0.007939, allocations: 8 kB / 0.5592 GB, free: 13.37 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004041/0.008343, allocations: 0.8327 MB / 0.56 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.008571, allocations: 115.8 kB / 0.5601 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.008572, allocations: 0 / 0.5601 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.033e-05/0.008662, allocations: 63.91 kB / 0.5602 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.008893, allocations: 8.281 kB / 0.5602 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.01016, allocations: 1.586 MB / 0.5617 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.796e-05/0.01021, allocations: 91.28 kB / 0.5618 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.132e-05/0.01025, allocations: 11.98 kB / 0.5618 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.01029, allocations: 20.5 kB / 0.5618 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of SimCode: time 6.51e-07/0.01029, allocations: 0 / 0.5618 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.02464, allocations: 2.569 MB / 0.5643 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.841/6.866, allocations: 3.984 kB / 0.5644 GB, free: 8.105 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.45513526070863] Failed to read output from testmodel.py, exit status != 0: 6.949277945794165 6.957887682 6.952545198 Calling exit ...