Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.0008704/0.0008704, allocations: 76.45 kB / 19.93 MB, free: 4.629 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.0009888/0.0009888, allocations: 173.9 kB / 23.21 MB, free: 1.344 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.9465/0.9465, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.5724/0.5724, allocations: 114 MB / 373.9 MB, free: 8.711 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.RealScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.5542 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.88e-05, allocations: 6.281 kB / 0.5542 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001251/0.00127, allocations: 0.6411 MB / 0.5548 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007929/0.002063, allocations: 0.8159 MB / 0.5556 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.002104, allocations: 0 / 0.5556 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.559e-05/0.0022, allocations: 7.922 kB / 0.5556 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 1.911e-05/0.002219, allocations: 3.938 kB / 0.5556 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001107/0.00233, allocations: 4 kB / 0.5556 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.729e-05/0.002397, allocations: 23.92 kB / 0.5556 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.002497, allocations: 4 kB / 0.5556 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.484e-05/0.002552, allocations: 19.97 kB / 0.5557 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.659e-05/0.002599, allocations: 11.98 kB / 0.5557 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.002617, allocations: 4 kB / 0.5557 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.482e-06/0.002623, allocations: 4 kB / 0.5557 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.002673, allocations: 7.922 kB / 0.5557 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.002698, allocations: 8 kB / 0.5557 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 7.716e-05/0.002775, allocations: 31.89 kB / 0.5557 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.103e-06/0.002777, allocations: 0 / 0.5557 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.02e-07/0.002778, allocations: 0 / 0.5557 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.002781, allocations: 0 / 0.5557 GB, free: 1.203 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003232/0.003104, allocations: 266.3 kB / 0.556 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.003143, allocations: 12.62 kB / 0.556 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.67e-05/0.003169, allocations: 34.69 kB / 0.556 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.667e-05/0.003186, allocations: 4.938 kB / 0.556 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.003294, allocations: 117.7 kB / 0.5561 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.003302, allocations: 384 / 0.5561 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.003312, allocations: 4.375 kB / 0.5562 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.003445, allocations: 54.23 kB / 0.5562 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.003451, allocations: 192 / 0.5562 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.003459, allocations: 384 / 0.5562 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.003464, allocations: 8.125 kB / 0.5562 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.821e-05/0.003542, allocations: 39.95 kB / 0.5562 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.00383, allocations: 240 kB / 0.5565 GB, free: 332 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.565e-05/0.003896, allocations: 30.56 kB / 0.5565 GB, free: 292 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.252e-05/0.003939, allocations: 24.84 kB / 0.5565 GB, free: 264 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.003948, allocations: 0 / 0.5565 GB, free: 264 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.003966, allocations: 34.55 kB / 0.5566 GB, free: 220 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.003967, allocations: 4 kB / 0.5566 GB, free: 216 kB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001963/0.004163, allocations: 77.55 kB / 0.5566 GB, free: 132 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.004193, allocations: 51.41 kB / 0.5567 GB, free: 68 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.00451, allocations: 109.8 kB / 0.5568 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.004519, allocations: 25.7 kB / 0.5568 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.004553, allocations: 88.14 kB / 0.5569 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.004569, allocations: 7.891 kB / 0.5569 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.004592, allocations: 13.83 kB / 0.5569 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.145e-05/0.004664, allocations: 318.8 kB / 0.5572 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.039e-05/0.004704, allocations: 19.92 kB / 0.5572 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.284e-05/0.004737, allocations: 11.98 kB / 0.5573 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.185e-05/0.004809, allocations: 40.75 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.00481, allocations: 0 / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.577e-05/0.004906, allocations: 69.67 kB / 0.5574 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.004917, allocations: 4 kB / 0.5574 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.004921, allocations: 0 / 0.5574 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.004933, allocations: 4.234 kB / 0.5574 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.442e-05/0.004987, allocations: 4 kB / 0.5574 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.004993, allocations: 4 kB / 0.5574 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.005014, allocations: 7.984 kB / 0.5574 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.005019, allocations: 0 / 0.5574 GB, free: 15.31 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.553e-05/0.005075, allocations: 113.9 kB / 0.5575 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.005088, allocations: 7.938 kB / 0.5575 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.477e-05/0.005103, allocations: 7.156 kB / 0.5575 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.005105, allocations: 3.984 kB / 0.5575 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.005111, allocations: 3.984 kB / 0.5575 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.005113, allocations: 0 / 0.5575 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.005218, allocations: 132.7 kB / 0.5576 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.005219, allocations: 0 / 0.5576 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.005241, allocations: 7.938 kB / 0.5577 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.005242, allocations: 0 / 0.5577 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.005254, allocations: 0 / 0.5577 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.005255, allocations: 4 kB / 0.5577 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.005255, allocations: 0 / 0.5577 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.005394, allocations: 159.5 kB / 0.5578 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-06/0.005401, allocations: 3.953 kB / 0.5578 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.005412, allocations: 3.984 kB / 0.5578 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.005446, allocations: 4 kB / 0.5578 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.005483, allocations: 8 kB / 0.5578 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.005486, allocations: 0 / 0.5578 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.749e-05/0.005513, allocations: 87.3 kB / 0.5579 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.005513, allocations: 0 / 0.5579 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001399/0.005653, allocations: 4 kB / 0.5579 GB, free: 14.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0002938/0.005947, allocations: 0.6928 MB / 0.5586 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.006069, allocations: 39.98 kB / 0.5586 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.006071, allocations: 7.875 kB / 0.5586 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.563e-05/0.006106, allocations: 11.98 kB / 0.5586 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.006314, allocations: 4 kB / 0.5587 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009492/0.007263, allocations: 1.232 MB / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.39e-05/0.007317, allocations: 63.59 kB / 0.5599 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.836e-05/0.007345, allocations: 3.984 kB / 0.5599 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.007385, allocations: 16.5 kB / 0.5599 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of SimCode: time 9.31e-07/0.007386, allocations: 0 / 0.5599 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.02498, allocations: 1.951 MB / 0.5618 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.915/6.94, allocations: 11.45 kB / 0.5619 GB, free: 10.7 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_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_RealScalarReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.605224358849227] Failed to read output from testmodel.py, exit status != 0: 7.022313424386084 7.030457572 7.026005722 Calling exit ...