Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.0008392/0.0008392, 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.0008871/0.0008871, 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.9196/0.9196, 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.5844/0.5844, 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.Routing.Validation.RealExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.316e-06/3.316e-06, allocations: 0 / 0.5542 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.504e-05, allocations: 6.281 kB / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002008/0.002033, allocations: 1.236 MB / 0.5554 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.003862, allocations: 1.579 MB / 0.5569 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.004014, allocations: 4 kB / 0.5569 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.004156, allocations: 35.38 kB / 0.557 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.004288, allocations: 75.38 kB / 0.557 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.005336, allocations: 0.4962 MB / 0.5575 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006451/0.005982, allocations: 0.6598 MB / 0.5582 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.006263, allocations: 109.3 kB / 0.5583 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003544/0.006617, allocations: 359.5 kB / 0.5586 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.006821, allocations: 199.4 kB / 0.5588 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.31e-05/0.006884, allocations: 68 kB / 0.5589 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.006989, allocations: 75.98 kB / 0.5589 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.667e-05/0.007066, allocations: 87.67 kB / 0.559 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.007222, allocations: 187.6 kB / 0.5592 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005648/0.007787, allocations: 0.7673 MB / 0.56 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.007789, allocations: 3.938 kB / 0.56 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.914e-06/0.007791, allocations: 0 / 0.56 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.007801, allocations: 0 / 0.56 GB, free: 12.87 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001047/0.008847, allocations: 0.8672 MB / 0.5608 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.008901, allocations: 12.62 kB / 0.5608 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.887e-05/0.00896, allocations: 58.73 kB / 0.5609 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.00907, allocations: 56.69 kB / 0.5609 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008636/0.009934, allocations: 412.7 kB / 0.5613 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.009972, allocations: 28.88 kB / 0.5614 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-05/0.01003, allocations: 40.38 kB / 0.5614 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005087/0.01054, allocations: 461 kB / 0.5618 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.01055, allocations: 192 / 0.5618 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.01057, allocations: 8.375 kB / 0.5618 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.01058, allocations: 7.938 kB / 0.5618 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/0.01101, allocations: 394.3 kB / 0.5622 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.01218, allocations: 0.7746 MB / 0.563 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006196/0.0128, allocations: 487.6 kB / 0.5634 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004023/0.0132, allocations: 393.8 kB / 0.5638 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.01322, allocations: 7.859 kB / 0.5638 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004703/0.01369, allocations: 456.2 kB / 0.5643 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=44): time 3.356e-06/0.01369, allocations: 0 / 0.5643 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.001217/0.01491, allocations: 1.108 MB / 0.5653 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.385e-05/0.01501, allocations: 187.9 kB / 0.5655 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.01525, allocations: 292.5 kB / 0.5658 GB, free: 6.387 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/0.0153, allocations: 45.7 kB / 0.5658 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.01542, allocations: 168.9 kB / 0.566 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.547e-05/0.01549, allocations: 142.8 kB / 0.5661 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.01564, allocations: 138.1 kB / 0.5663 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.01576, allocations: 346.8 kB / 0.5666 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005037/0.01626, allocations: 0.5275 MB / 0.5671 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005372/0.0168, allocations: 0.6026 MB / 0.5677 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000819/0.01762, allocations: 0.9177 MB / 0.5686 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.01763, allocations: 0 / 0.5686 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001237/0.01886, allocations: 1.264 MB / 0.5698 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.01901, allocations: 263.3 kB / 0.5701 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.01902, allocations: 4 kB / 0.5701 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.01905, allocations: 4 kB / 0.5701 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.01922, allocations: 63.89 kB / 0.5702 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.01923, allocations: 4 kB / 0.5702 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.01964, allocations: 143.6 kB / 0.5703 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.066e-05/0.01973, allocations: 71.86 kB / 0.5704 GB, free: 1.254 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.000257/0.01999, allocations: 310.3 kB / 0.5707 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.02003, allocations: 43.7 kB / 0.5707 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.794e-05/0.0201, allocations: 43.48 kB / 0.5707 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.02011, allocations: 7.984 kB / 0.5708 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.02012, allocations: 0 / 0.5708 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.02012, allocations: 3.984 kB / 0.5708 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.0214, allocations: 1.262 MB / 0.572 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.0214, allocations: 0 / 0.572 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.02154, allocations: 67.89 kB / 0.5721 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.02155, allocations: 0 / 0.5721 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.02158, allocations: 19.98 kB / 0.5721 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.02158, allocations: 0 / 0.5721 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.02158, allocations: 0 / 0.5721 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008449/0.02243, allocations: 0.9154 MB / 0.573 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.02248, allocations: 31.7 kB / 0.573 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.02251, allocations: 11.98 kB / 0.573 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.02263, allocations: 35.91 kB / 0.573 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.617e-05/0.02272, allocations: 35.94 kB / 0.5731 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.297e-05/0.02277, allocations: 51.94 kB / 0.5731 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001441/0.02291, allocations: 203 kB / 0.5733 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.02291, allocations: 0 / 0.5733 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003446/0.02326, allocations: 107.9 kB / 0.5734 GB, free: 13.89 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * 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.001061/0.02432, allocations: 1.455 MB / 0.5748 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.02551, allocations: 1.429 MB / 0.5762 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.02551, allocations: 0 / 0.5762 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004229/0.02593, allocations: 0.6224 MB / 0.5769 GB, free: 10 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.02631, allocations: 88.53 kB / 0.5769 GB, free: 9.918 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005362/0.03168, allocations: 5.851 MB / 0.5826 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.03182, allocations: 189 kB / 0.5828 GB, free: 3.426 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00018/0.032, allocations: 91.2 kB / 0.5829 GB, free: 3.336 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.03213, allocations: 116.5 kB / 0.583 GB, free: 3.219 MB / 0.5417 GB Notification: Performance of SimCode: time 1.212e-06/0.03213, allocations: 4 kB / 0.583 GB, free: 3.215 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.05895, allocations: 11.17 MB / 0.5939 GB, free: 8.332 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.231/7.29, allocations: 8.062 kB / 0.5939 GB, free: 8.324 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor_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_RealExtractor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.922711717896163] Failed to read output from testmodel.py, exit status != 0: 7.37707999534905 7.386897098 7.377413539 Calling exit ...