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.001726/0.001726, allocations: 115.2 kB / 19.7 MB, free: 2.207 MB / 14.72 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.002054/0.002054, allocations: 220.4 kB / 23 MB, free: 5.07 MB / 14.72 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 1.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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 1.037/1.037, allocations: 150 MB / 463.2 MB, free: 10.5 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 73.91 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1704, allocations: 89.17 MB / 0.7284 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.6421/0.8125, allocations: 229.4 MB / 0.9524 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02026/0.8327, allocations: 12.74 MB / 0.9648 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002507/0.8352, allocations: 99.19 kB / 0.9649 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003352/0.8386, allocations: 1.251 MB / 0.9661 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.009168/0.8478, allocations: 3.325 MB / 0.9694 GB, free: 384 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005209/0.853, allocations: 1.888 MB / 0.9712 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00752/0.8605, allocations: 4.226 MB / 0.9753 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00228/0.8628, allocations: 1.129 MB / 0.9764 GB, free: 9.094 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00601/0.8688, allocations: 2.213 MB / 0.9786 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003714/0.8725, allocations: 1.464 MB / 0.98 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0006213/0.8731, allocations: 180 kB / 0.9802 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006634/0.8798, allocations: 2.869 MB / 0.983 GB, free: 2.363 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.8811, allocations: 1.005 MB / 0.984 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002643/0.8837, allocations: 1.438 MB / 0.9854 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.008564/0.8923, allocations: 4.838 MB / 0.9901 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.8923, allocations: 3.938 kB / 0.9901 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8923, allocations: 0 / 0.9901 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.958e-05/0.8923, allocations: 3.938 kB / 0.9901 GB, free: 11.05 MB / 0.7637 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.006974/0.8993, allocations: 3.405 MB / 0.9934 GB, free: 7.578 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.8993, allocations: 8.031 kB / 0.9934 GB, free: 7.57 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002199/0.8996, allocations: 173 kB / 0.9936 GB, free: 7.391 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004834/0.9044, allocations: 0.8138 MB / 0.9944 GB, free: 6.574 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009037/0.9134, allocations: 6.238 MB / 1 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.9136, allocations: 145.5 kB / 1.001 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.9138, allocations: 108 kB / 1.001 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003824/0.9176, allocations: 2.05 MB / 1.003 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.9177, allocations: 7.984 kB / 1.003 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.9178, allocations: 44 kB / 1.003 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-05/0.9178, allocations: 46.08 kB / 1.003 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004804/0.9226, allocations: 2.557 MB / 1.005 GB, free: 11.23 MB / 0.7794 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.01485/0.9375, allocations: 9.46 MB / 1.015 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004012/0.9415, allocations: 1.943 MB / 1.016 GB, free: 15.51 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/0.9434, allocations: 0.892 MB / 1.017 GB, free: 14.62 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007548/0.9441, allocations: 177.5 kB / 1.018 GB, free: 14.45 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00206/0.9462, allocations: 1.019 MB / 1.018 GB, free: 13.41 MB / 0.795 GB Notification: Performance of pre-optimization done (n=91): time 3.597e-06/0.9462, allocations: 0 / 1.018 GB, free: 13.41 MB / 0.795 GB Notification: Performance of matching and sorting (n=91): time 0.02332/0.9695, allocations: 5.647 MB / 1.024 GB, free: 7.727 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.9696, allocations: 153.1 kB / 1.024 GB, free: 7.547 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01275/0.9824, allocations: 8.895 MB / 1.033 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002651/0.9826, allocations: 45.7 kB / 1.033 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001258/0.9839, allocations: 1.115 MB / 1.034 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004242/0.9843, allocations: 313.3 kB / 1.034 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000424/0.9847, allocations: 214.5 kB / 1.034 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.9849, allocations: 349.9 kB / 1.035 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.987, allocations: 1.088 MB / 1.036 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/0.9892, allocations: 1.297 MB / 1.037 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003891/0.9931, allocations: 2.179 MB / 1.039 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.9931, allocations: 4 kB / 1.039 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.008777/1.002, allocations: 3.692 MB / 1.043 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.223e-05/1.002, allocations: 71.39 kB / 1.043 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.002, allocations: 4 kB / 1.043 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00495/1.007, allocations: 1.984 MB / 1.045 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/1.008, allocations: 183.7 kB / 1.045 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009775/1.018, allocations: 6.59 MB / 1.051 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002934/1.021, allocations: 246.8 kB / 1.052 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002815/1.021, allocations: 55.92 kB / 1.052 GB, free: 10.71 MB / 0.8262 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.001252/1.022, allocations: 0.6609 MB / 1.052 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007874/1.023, allocations: 282.2 kB / 1.053 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008251/1.031, allocations: 3.209 MB / 1.056 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/1.031, allocations: 11.98 kB / 1.056 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/1.031, allocations: 0 / 1.056 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/1.031, allocations: 3.984 kB / 1.056 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/1.045, allocations: 5.859 MB / 1.062 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/1.045, allocations: 4.344 kB / 1.062 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006845/1.045, allocations: 107.8 kB / 1.062 GB, free: 432 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004695/1.05, allocations: 1.971 MB / 1.064 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/1.05, allocations: 27.98 kB / 1.064 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009179/1.059, allocations: 6.532 MB / 1.07 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.059, allocations: 4 kB / 1.07 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008136/1.068, allocations: 3.274 MB / 1.073 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/1.069, allocations: 0.5562 MB / 1.074 GB, free: 3.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004816/1.07, allocations: 24 kB / 1.074 GB, free: 3.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/1.071, allocations: 131.9 kB / 1.074 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/1.072, allocations: 76.45 kB / 1.074 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/1.072, allocations: 47.91 kB / 1.074 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.3287/1.4, allocations: 6.834 MB / 1.081 GB, free: 296 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.71e-07/1.4, allocations: 1 kB / 1.081 GB, free: 296 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002425/1.403, allocations: 0.7333 MB / 1.081 GB, free: 296 MB / 0.8419 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.008423/1.411, allocations: 4.209 MB / 1.086 GB, free: 295.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005416/1.417, allocations: 2.53 MB / 1.088 GB, free: 294.8 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.417, allocations: 1.219 kB / 1.088 GB, free: 294.8 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002572/1.419, allocations: 1.333 MB / 1.089 GB, free: 294.4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005021/1.424, allocations: 1.03 MB / 1.09 GB, free: 294.4 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06008/1.484, allocations: 41.51 MB / 1.131 GB, free: 275 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009655/1.485, allocations: 1.683 MB / 1.132 GB, free: 273.6 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001624/1.487, allocations: 435.1 kB / 1.133 GB, free: 273.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/1.488, allocations: 0.9585 MB / 1.134 GB, free: 272.4 MB / 0.8419 GB Notification: Performance of SimCode: time 1.312e-06/1.488, allocations: 0 / 1.134 GB, free: 272.4 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1216/1.609, allocations: 79.92 MB / 1.212 GB, free: 193.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.39/21, allocations: 0 / 1.212 GB, free: 193.5 MB / 0.8419 GB " [Timeout remaining time 639] (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: 25.045201193999674] Failed to read output from testmodel.py, exit status != 0: 21.16689644899816 21.176469323 20.281777512 Calling exit ...