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.0009999/0.0009999, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001269/0.001269, allocations: 172.9 kB / 24.84 MB, free: 9.254 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 1.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.621/0.621, allocations: 115 MB / 376.8 MB, free: 7.5 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: translateModel(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource") translateModel(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 482.7 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.308e-05/1.471e-05, allocations: 4.172 kB / 482.7 MB, free: 11.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.1536/0.1537, allocations: 158.4 MB / 0.6261 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.165, allocations: 9.293 MB / 0.6352 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.1664, allocations: 99.19 kB / 0.6353 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.1678, allocations: 0.7765 MB / 0.636 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003531/0.1713, allocations: 2.433 MB / 0.6384 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.1742, allocations: 1.849 MB / 0.6402 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003803/0.178, allocations: 4.253 MB / 0.6444 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.1791, allocations: 1.174 MB / 0.6455 GB, free: 5.02 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002382/0.1815, allocations: 2.264 MB / 0.6477 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.1826, allocations: 1.246 MB / 0.6489 GB, free: 1.531 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002174/0.1829, allocations: 180 kB / 0.6491 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.1847, allocations: 1.29 MB / 0.6504 GB, free: 64 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.2521/0.4368, allocations: 1.023 MB / 0.6514 GB, free: 21.31 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.002163/0.439, allocations: 0.8902 MB / 0.6522 GB, free: 21.31 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004432/0.4434, allocations: 2.765 MB / 0.6549 GB, free: 21.17 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.4434, allocations: 0 / 0.6549 GB, free: 21.17 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.32e-07/0.4434, allocations: 0 / 0.6549 GB, free: 21.17 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.683e-05/0.4435, allocations: 0 / 0.6549 GB, free: 21.17 MB / 0.5573 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.003623/0.4471, allocations: 3.215 MB / 0.6581 GB, free: 19.49 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.4471, allocations: 8.781 kB / 0.6581 GB, free: 19.49 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/0.4491, allocations: 0.8095 MB / 0.6589 GB, free: 19.3 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.4507, allocations: 1.748 MB / 0.6606 GB, free: 18.74 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.05e-05/0.4508, allocations: 155.3 kB / 0.6607 GB, free: 18.68 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.4509, allocations: 119.4 kB / 0.6609 GB, free: 18.68 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.4522, allocations: 1.158 MB / 0.662 GB, free: 18.23 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.4522, allocations: 1 kB / 0.662 GB, free: 18.23 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-05/0.4523, allocations: 48.12 kB / 0.662 GB, free: 18.23 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/0.4523, allocations: 39.64 kB / 0.6621 GB, free: 18.22 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007354/0.453, allocations: 0.5901 MB / 0.6626 GB, free: 18.12 MB / 0.5573 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.004644/0.4577, allocations: 5.063 MB / 0.6676 GB, free: 16.17 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008281/0.4585, allocations: 0.5407 MB / 0.6681 GB, free: 16.07 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.4589, allocations: 326.5 kB / 0.6684 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002563/0.4591, allocations: 117.6 kB / 0.6685 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000445/0.4596, allocations: 0.5395 MB / 0.6691 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=89): time 2.484e-06/0.4596, allocations: 4.281 kB / 0.6691 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of matching and sorting (n=89): time 0.006374/0.4659, allocations: 2.506 MB / 0.6715 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.466, allocations: 147.1 kB / 0.6717 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003867/0.4699, allocations: 2.243 MB / 0.6738 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.139e-05/0.4699, allocations: 49.58 kB / 0.6739 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007418/0.4707, allocations: 1.193 MB / 0.6751 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.4709, allocations: 305.4 kB / 0.6754 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003048/0.4712, allocations: 256.5 kB / 0.6756 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.384e-05/0.4713, allocations: 0.5288 MB / 0.6761 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004023/0.4717, allocations: 262.5 kB / 0.6764 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006196/0.4723, allocations: 0.917 MB / 0.6773 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009373/0.4732, allocations: 0.9645 MB / 0.6782 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.4732, allocations: 2.5 kB / 0.6782 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001906/0.4751, allocations: 1.325 MB / 0.6795 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.189e-05/0.4752, allocations: 74.5 kB / 0.6796 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.4752, allocations: 9.844 kB / 0.6796 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.4765, allocations: 0.5843 MB / 0.6801 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006195/0.4771, allocations: 227.6 kB / 0.6804 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.4791, allocations: 3 MB / 0.6833 GB, free: 25.27 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.4802, allocations: 174.1 kB / 0.6835 GB, free: 25.21 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.4803, allocations: 56.64 kB / 0.6835 GB, free: 25.2 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (108): * Single equations (assignments): 103 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0004553/0.4808, allocations: 300 kB / 0.6838 GB, free: 24.97 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003415/0.4811, allocations: 265.6 kB / 0.6841 GB, free: 24.85 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.4833, allocations: 1.218 MB / 0.6852 GB, free: 24.59 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.4834, allocations: 14.38 kB / 0.6853 GB, free: 24.59 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.4834, allocations: 0.9375 kB / 0.6853 GB, free: 24.59 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.4834, allocations: 3.438 kB / 0.6853 GB, free: 24.59 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003624/0.487, allocations: 2.68 MB / 0.6879 GB, free: 23.95 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.487, allocations: 3.438 kB / 0.6879 GB, free: 23.95 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.4874, allocations: 116.9 kB / 0.688 GB, free: 23.95 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009374/0.4883, allocations: 0.5696 MB / 0.6886 GB, free: 23.93 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.494e-05/0.4884, allocations: 31.5 kB / 0.6886 GB, free: 23.93 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/0.4898, allocations: 2.99 MB / 0.6915 GB, free: 21.39 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4898, allocations: 8.25 kB / 0.6915 GB, free: 21.39 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.4914, allocations: 1.409 MB / 0.6929 GB, free: 20.74 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004514/0.4918, allocations: 407.8 kB / 0.6933 GB, free: 20.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.492, allocations: 25.31 kB / 0.6933 GB, free: 20.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005695/0.4925, allocations: 71.28 kB / 0.6934 GB, free: 20.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.697e-05/0.4926, allocations: 74.17 kB / 0.6934 GB, free: 20.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/0.4927, allocations: 39.52 kB / 0.6935 GB, free: 20.6 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009111/0.4936, allocations: 1.306 MB / 0.6947 GB, free: 20.41 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4936, allocations: 0 / 0.6947 GB, free: 20.41 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001369/0.495, allocations: 0.6871 MB / 0.6954 GB, free: 20.33 MB / 0.573 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 (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006234/0.4956, allocations: 390.8 kB / 0.6958 GB, free: 20.21 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.4969, allocations: 1.122 MB / 0.6969 GB, free: 19.75 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4969, allocations: 0 / 0.6969 GB, free: 19.75 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006384/0.4975, allocations: 0.6941 MB / 0.6976 GB, free: 19.37 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.4994, allocations: 0.8488 MB / 0.6984 GB, free: 19.27 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.5036, allocations: 3.894 MB / 0.7022 GB, free: 17.46 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.504, allocations: 0.497 MB / 0.7027 GB, free: 17.35 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000624/0.5046, allocations: 282.4 kB / 0.703 GB, free: 17.29 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.5057, allocations: 0.7772 MB / 0.7037 GB, free: 17.23 MB / 0.573 GB Notification: Performance of SimCode: time 8.31e-07/0.5057, allocations: 0 / 0.7037 GB, free: 17.23 MB / 0.573 GB Notification: Performance of Templates: time 0.0465/0.5522, allocations: 45.4 MB / 0.748 GB, free: 12.63 MB / 0.5886 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.998370041139424]