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.001525/0.001525, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001547/0.001547, allocations: 212.1 kB / 22.99 MB, free: 4.605 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 0.9681/0.9681, allocations: 149.9 MB / 463.1 MB, free: 10.35 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.002254/0.002254, allocations: 67.34 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1943, allocations: 89.17 MB / 0.7282 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.5871/0.7814, allocations: 199.8 MB / 0.9233 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02003/0.8014, allocations: 11.82 MB / 0.9348 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002508/0.8039, allocations: 95.19 kB / 0.9349 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003121/0.8071, allocations: 1.162 MB / 0.9361 GB, free: 200 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00878/0.8158, allocations: 3.301 MB / 0.9393 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005794/0.8216, allocations: 1.849 MB / 0.9411 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00736/0.829, allocations: 4.204 MB / 0.9452 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002386/0.8314, allocations: 1.125 MB / 0.9463 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005793/0.8372, allocations: 2.219 MB / 0.9485 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003248/0.8404, allocations: 1.376 MB / 0.9498 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006743/0.8411, allocations: 180 kB / 0.95 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006134/0.8472, allocations: 2.28 MB / 0.9522 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001556/0.8488, allocations: 1.008 MB / 0.9532 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002681/0.8515, allocations: 1.158 MB / 0.9543 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.008817/0.8603, allocations: 4.784 MB / 0.959 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8603, allocations: 0 / 0.959 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8603, allocations: 4 kB / 0.959 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001007/0.8604, allocations: 0 / 0.959 GB, free: 8.629 MB / 0.7325 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.007922/0.8683, allocations: 3.401 MB / 0.9623 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.8684, allocations: 8.031 kB / 0.9623 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003714/0.8687, allocations: 173 kB / 0.9625 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005048/0.8738, allocations: 0.8177 MB / 0.9633 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/0.8841, allocations: 6.236 MB / 0.9694 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001779/0.8843, allocations: 145.5 kB / 0.9695 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/0.8845, allocations: 108 kB / 0.9696 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004182/0.8887, allocations: 2.238 MB / 0.9718 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.8887, allocations: 5.125 kB / 0.9718 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.8888, allocations: 48 kB / 0.9718 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.868e-05/0.8889, allocations: 46.06 kB / 0.9719 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005244/0.8941, allocations: 2.615 MB / 0.9744 GB, free: 8.512 MB / 0.7481 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.01487/0.909, allocations: 8.141 MB / 0.9824 GB, free: 252 kB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004561/0.9136, allocations: 2.014 MB / 0.9844 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002058/0.9156, allocations: 0.9446 MB / 0.9853 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007424/0.9164, allocations: 168.5 kB / 0.9854 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002193/0.9186, allocations: 1.179 MB / 0.9866 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=91): time 4.719e-06/0.9186, allocations: 0 / 0.9866 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of matching and sorting (n=91): time 0.02445/0.943, allocations: 5.779 MB / 0.9922 GB, free: 6.016 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.9431, allocations: 157 kB / 0.9924 GB, free: 5.832 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01445/0.9576, allocations: 8.895 MB / 1.001 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002735/0.9579, allocations: 45.7 kB / 1.001 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.9592, allocations: 1.111 MB / 1.002 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004504/0.9596, allocations: 317.3 kB / 1.003 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004474/0.9601, allocations: 222.5 kB / 1.003 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.9603, allocations: 341.9 kB / 1.003 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/0.9625, allocations: 1.15 MB / 1.004 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002603/0.9651, allocations: 1.6 MB / 1.006 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004206/0.9693, allocations: 2.183 MB / 1.008 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.9693, allocations: 6.125 kB / 1.008 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009253/0.9786, allocations: 3.766 MB / 1.012 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.103e-05/0.9786, allocations: 71.39 kB / 1.012 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.9787, allocations: 4 kB / 1.012 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005135/0.9838, allocations: 1.984 MB / 1.014 GB, free: 15.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.9849, allocations: 183.7 kB / 1.014 GB, free: 15.62 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.9956, allocations: 6.556 MB / 1.02 GB, free: 8.793 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/0.9982, allocations: 235 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002255/0.9984, allocations: 51.97 kB / 1.02 GB, free: 8.512 MB / 0.795 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.001247/0.9996, allocations: 0.6648 MB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000649/1, allocations: 282.2 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008524/1.009, allocations: 3.269 MB / 1.025 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/1.009, allocations: 8 kB / 1.025 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.009, allocations: 0 / 1.025 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/1.009, allocations: 3.984 kB / 1.025 GB, free: 4.227 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01369/1.023, allocations: 5.543 MB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/1.023, allocations: 8.016 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006959/1.023, allocations: 91.89 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004906/1.028, allocations: 1.979 MB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/1.028, allocations: 31.98 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009504/1.038, allocations: 6.488 MB / 1.038 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/1.038, allocations: 4.031 kB / 1.038 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008505/1.046, allocations: 3.347 MB / 1.042 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001935/1.048, allocations: 0.56 MB / 1.042 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005945/1.049, allocations: 24 kB / 1.042 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/1.051, allocations: 119.9 kB / 1.042 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/1.051, allocations: 80.45 kB / 1.042 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.051, allocations: 43.92 kB / 1.042 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.009373/1.06, allocations: 6.835 MB / 1.049 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/1.06, allocations: 0 / 1.049 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003235/1.063, allocations: 0.7295 MB / 1.05 GB, free: 9.828 MB / 0.8262 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.01013/1.074, allocations: 4.293 MB / 1.054 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005643/1.079, allocations: 2.665 MB / 1.057 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.079, allocations: 4.375 kB / 1.057 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002888/1.082, allocations: 1.401 MB / 1.058 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005126/1.087, allocations: 1.022 MB / 1.059 GB, free: 248 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3935/1.481, allocations: 41.78 MB / 1.1 GB, free: 308.9 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/1.482, allocations: 1.106 MB / 1.101 GB, free: 308.8 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001971/1.484, allocations: 431.6 kB / 1.101 GB, free: 308.7 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/1.486, allocations: 0.9566 MB / 1.102 GB, free: 308.7 MB / 0.8575 GB Notification: Performance of SimCode: time 1.352e-06/1.486, allocations: 0 / 1.102 GB, free: 308.7 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1324/1.618, allocations: 80.66 MB / 1.181 GB, free: 252.3 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.88/18.5, allocations: 12.98 kB / 1.181 GB, free: 252.3 MB / 0.8575 GB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource_fmu --startTime=0 --stopTime=300 --stepSize=0.12 --timeout=50 --tolerance=1e-06 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: 22.456861185841262] Failed to read output from testmodel.py, exit status != 0: 18.673203132115304 18.692648686 17.828188206 Calling exit ...