Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.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.000834/0.000834, 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.00089/0.00089, 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.8719/0.8719, 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.5458/0.5458, 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.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 3.938 kB / 0.5542 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.488e-05, allocations: 3.688 kB / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.4137/0.4137, allocations: 199.4 MB / 0.7489 GB, free: 40.63 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01559/0.4293, allocations: 11.81 MB / 0.7604 GB, free: 34.22 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004283/0.4336, allocations: 92.09 kB / 0.7605 GB, free: 34.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00411/0.4377, allocations: 1.177 MB / 0.7617 GB, free: 33.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009201/0.4469, allocations: 3.369 MB / 0.7649 GB, free: 32.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003611/0.4505, allocations: 1.906 MB / 0.7668 GB, free: 31.41 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004694/0.4552, allocations: 4.234 MB / 0.7709 GB, free: 29.37 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.4566, allocations: 1.082 MB / 0.772 GB, free: 28.8 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004873/0.4615, allocations: 2.749 MB / 0.7747 GB, free: 27.62 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/0.4633, allocations: 1.24 MB / 0.7759 GB, free: 27.22 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003812/0.4637, allocations: 179.9 kB / 0.7761 GB, free: 27.22 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003821/0.4675, allocations: 2.317 MB / 0.7783 GB, free: 26.49 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006267/0.4682, allocations: 1.039 MB / 0.7793 GB, free: 26.01 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.4692, allocations: 0.9731 MB / 0.7803 GB, free: 25.57 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007525/0.4767, allocations: 4.837 MB / 0.785 GB, free: 24 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.4767, allocations: 4 kB / 0.785 GB, free: 24 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4767, allocations: 0 / 0.785 GB, free: 24 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.161e-05/0.4768, allocations: 0 / 0.785 GB, free: 24 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.005575/0.4824, allocations: 3.401 MB / 0.7883 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.4824, allocations: 9.5 kB / 0.7883 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/0.4826, allocations: 168.2 kB / 0.7885 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002534/0.4851, allocations: 0.8302 MB / 0.7893 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005082/0.4902, allocations: 6.234 MB / 0.7954 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.675e-05/0.4903, allocations: 143 kB / 0.7955 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.4904, allocations: 108.4 kB / 0.7956 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.4927, allocations: 2.25 MB / 0.7978 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.4927, allocations: 2.719 kB / 0.7978 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.997e-05/0.4928, allocations: 47.12 kB / 0.7979 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/0.4928, allocations: 41.44 kB / 0.7979 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002571/0.4954, allocations: 2.616 MB / 0.8005 GB, free: 16.74 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009073/0.5044, allocations: 8.157 MB / 0.8085 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/0.5067, allocations: 1.999 MB / 0.8104 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.5077, allocations: 0.9462 MB / 0.8113 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004063/0.5082, allocations: 171.4 kB / 0.8115 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/0.5092, allocations: 1.182 MB / 0.8126 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=91): time 3.306e-06/0.5092, allocations: 0 / 0.8126 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91): time 0.01137/0.5206, allocations: 5.787 MB / 0.8183 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.5207, allocations: 144.4 kB / 0.8184 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007101/0.5278, allocations: 8.893 MB / 0.8271 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002088/0.528, allocations: 49.62 kB / 0.8272 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006071/0.5286, allocations: 1.107 MB / 0.8282 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002836/0.5289, allocations: 309.3 kB / 0.8285 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/0.5291, allocations: 222.5 kB / 0.8288 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.5292, allocations: 349.9 kB / 0.8291 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.5304, allocations: 1.15 MB / 0.8302 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.5318, allocations: 1.599 MB / 0.8318 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/0.5339, allocations: 2.182 MB / 0.8339 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.5339, allocations: 4 kB / 0.8339 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005046/0.539, allocations: 3.766 MB / 0.8376 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.083e-05/0.539, allocations: 75.38 kB / 0.8377 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.5391, allocations: 4 kB / 0.8377 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002838/0.5419, allocations: 1.981 MB / 0.8396 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000535/0.5424, allocations: 189.9 kB / 0.8398 GB, free: 3.551 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005507/0.5479, allocations: 6.561 MB / 0.8462 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.5495, allocations: 242.9 kB / 0.8464 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.5496, allocations: 51.92 kB / 0.8465 GB, free: 12.45 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 17 (THotIn_set.nextEventScaled,THotIn_set.nextEvent,$PRE.THotIn_set.nextEvent,THotIn_set.last,THotIn_set.b,THotIn_set.a,mHot_flow_set.nextEventScaled,mHot_flow_set.nextEvent,$PRE.mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.b,mHot_flow_set.a,orc.cyc.hys.y,$PRE.orc.cyc.hys.y,orc.on_actual,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 79 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0009968/0.5506, allocations: 0.6644 MB / 0.8471 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000594/0.5512, allocations: 282.2 kB / 0.8474 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004634/0.5558, allocations: 3.274 MB / 0.8506 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.5559, allocations: 8 kB / 0.8506 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.5559, allocations: 0 / 0.8506 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.5559, allocations: 3.984 kB / 0.8506 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007389/0.5633, allocations: 5.528 MB / 0.856 GB, free: 2.551 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.5633, allocations: 4 kB / 0.856 GB, free: 2.547 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003259/0.5636, allocations: 103.4 kB / 0.8561 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002543/0.5661, allocations: 1.978 MB / 0.858 GB, free: 472 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.874e-05/0.5662, allocations: 31.98 kB / 0.8581 GB, free: 440 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005272/0.5715, allocations: 6.508 MB / 0.8644 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5715, allocations: 3.938 kB / 0.8644 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004716/0.5762, allocations: 3.34 MB / 0.8677 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.5773, allocations: 0.5563 MB / 0.8682 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002929/0.5776, allocations: 27.94 kB / 0.8682 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008579/0.5785, allocations: 131.9 kB / 0.8684 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.5786, allocations: 71.62 kB / 0.8684 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.291e-05/0.5787, allocations: 43.97 kB / 0.8685 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.005478/0.5842, allocations: 6.835 MB / 0.8752 GB, free: 14.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5842, allocations: 0 / 0.8752 GB, free: 14.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00208/0.5862, allocations: 0.7295 MB / 0.8759 GB, free: 13.84 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,orc.on_actual,orc.cyc.hys.y,mHot_flow_set.a,mHot_flow_set.b,mHot_flow_set.last,mHot_flow_set.nextEvent,mHot_flow_set.nextEventScaled,THotIn_set.a,THotIn_set.b,THotIn_set.last,THotIn_set.nextEvent,THotIn_set.nextEventScaled) * Number of discrete states: 13 (THotIn_set.nextEvent,THotIn_set.last,THotIn_set.nextEventScaled,THotIn_set.b,THotIn_set.a,$whenCondition2,mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.nextEventScaled,mHot_flow_set.b,mHot_flow_set.a,$whenCondition1,orc.cyc.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005578/0.5918, allocations: 4.316 MB / 0.8801 GB, free: 9.453 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003186/0.595, allocations: 2.656 MB / 0.8827 GB, free: 6.746 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.595, allocations: 4 kB / 0.8827 GB, free: 6.742 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/0.5965, allocations: 1.405 MB / 0.8841 GB, free: 5.289 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003606/0.6001, allocations: 1.007 MB / 0.885 GB, free: 4.312 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04711/0.6472, allocations: 41.74 MB / 0.9258 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009876/0.6482, allocations: 1.104 MB / 0.9269 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001439/0.6496, allocations: 423.4 kB / 0.9273 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.6507, allocations: 0.9715 MB / 0.9282 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of SimCode: time 1.784e-06/0.6507, allocations: 0 / 0.9282 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3035/0.9541, allocations: 79.65 MB / 1.006 GB, free: 311 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.6, allocations: 10.52 kB / 1.006 GB, free: 311 MB / 0.7917 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource.fmu > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.186493070796132] Failed to read output from testmodel.py, exit status != 0: 11.734333357773721 11.741201177 11.262655304 Calling exit ...