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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 111.9 kB / 19.64 MB, free: 2.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 202.2 kB / 22.92 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 225.6 MB / 251.7 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8093/0.8093, allocations: 129.2 MB / 436 MB, free: 5.688 MB / 334.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001916/0.001916, allocations: 62.94 kB / 0.6041 GB, free: 20.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1658, allocations: 83.45 MB / 0.6855 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.5796/0.7454, allocations: 226.3 MB / 0.9065 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02158/0.767, allocations: 12.73 MB / 0.919 GB, free: 10.22 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002864/0.7698, allocations: 75.62 kB / 0.919 GB, free: 10.14 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003489/0.7733, allocations: 1.228 MB / 0.9202 GB, free: 8.91 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008796/0.7821, allocations: 3.286 MB / 0.9234 GB, free: 5.613 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004834/0.7869, allocations: 1.855 MB / 0.9253 GB, free: 3.773 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006033/0.793, allocations: 4.17 MB / 0.9293 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002123/0.7951, allocations: 1.113 MB / 0.9304 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005067/0.8002, allocations: 2.163 MB / 0.9325 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002749/0.8029, allocations: 1.468 MB / 0.934 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005715/0.8035, allocations: 180 kB / 0.9341 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006853/0.8103, allocations: 2.779 MB / 0.9369 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001513/0.8119, allocations: 0.9852 MB / 0.9378 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002556/0.8144, allocations: 1.329 MB / 0.9391 GB, free: 5.516 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007146/0.8216, allocations: 4.418 MB / 0.9434 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8216, allocations: 0 / 0.9434 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8216, allocations: 0 / 0.9434 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.346e-05/0.8216, allocations: 0 / 0.9434 GB, free: 1.082 MB / 0.6856 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.005884/0.8275, allocations: 3.174 MB / 0.9465 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.8275, allocations: 8.625 kB / 0.9465 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004448/0.832, allocations: 0.7972 MB / 0.9473 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004214/0.8362, allocations: 2.543 MB / 0.9498 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.8363, allocations: 119.8 kB / 0.9499 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.8365, allocations: 108 kB / 0.95 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003713/0.8402, allocations: 2.058 MB / 0.952 GB, free: 8.051 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.8403, allocations: 4 kB / 0.952 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.8404, allocations: 43.98 kB / 0.9521 GB, free: 8.004 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-05/0.8404, allocations: 42.08 kB / 0.9521 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004774/0.8452, allocations: 2.561 MB / 0.9546 GB, free: 5.391 MB / 0.7012 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.01219/0.8574, allocations: 8.161 MB / 0.9626 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004044/0.8614, allocations: 2.085 MB / 0.9646 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/0.8633, allocations: 0.8906 MB / 0.9655 GB, free: 9.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/0.8645, allocations: 1.065 MB / 0.9665 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002101/0.8666, allocations: 1.012 MB / 0.9675 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=91): time 2.955e-06/0.8666, allocations: 0 / 0.9675 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91): time 0.02316/0.8897, allocations: 5.94 MB / 0.9733 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.8898, allocations: 145.2 kB / 0.9735 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005697/0.8955, allocations: 3.977 MB / 0.9773 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001639/0.8957, allocations: 45.7 kB / 0.9774 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000968/0.8967, allocations: 1.016 MB / 0.9784 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003443/0.897, allocations: 321.2 kB / 0.9787 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004087/0.8974, allocations: 218.5 kB / 0.9789 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.8976, allocations: 345.9 kB / 0.9792 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001992/0.8996, allocations: 1.092 MB / 0.9803 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002314/0.9019, allocations: 1.301 MB / 0.9816 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003793/0.9057, allocations: 2.182 MB / 0.9837 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.9057, allocations: 0 / 0.9837 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00826/0.9139, allocations: 3.662 MB / 0.9873 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.599e-05/0.914, allocations: 75.38 kB / 0.9873 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.914, allocations: 4 kB / 0.9873 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004505/0.9185, allocations: 1.929 MB / 0.9892 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009725/0.9195, allocations: 179.8 kB / 0.9894 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009262/0.9288, allocations: 6.643 MB / 0.9959 GB, free: 9.805 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/0.9313, allocations: 238.8 kB / 0.9961 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.9315, allocations: 51.97 kB / 0.9962 GB, free: 9.52 MB / 0.7481 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.00117/0.9327, allocations: 0.649 MB / 0.9968 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006017/0.9333, allocations: 254.4 kB / 0.997 GB, free: 8.598 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008013/0.9413, allocations: 3.187 MB / 1 GB, free: 5.371 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-05/0.9413, allocations: 8 kB / 1 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.9413, allocations: 4 kB / 1 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.9414, allocations: 3.984 kB / 1 GB, free: 5.355 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/0.9542, allocations: 5.559 MB / 1.006 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/0.9542, allocations: 7.938 kB / 1.006 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006481/0.9548, allocations: 104.2 kB / 1.006 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004273/0.9591, allocations: 1.912 MB / 1.008 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.301e-05/0.9592, allocations: 31.97 kB / 1.008 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00873/0.9679, allocations: 6.596 MB / 1.014 GB, free: 6.684 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.9679, allocations: 8 kB / 1.014 GB, free: 6.676 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007683/0.9756, allocations: 3.253 MB / 1.017 GB, free: 3.344 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/0.9768, allocations: 0.5184 MB / 1.018 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003556/0.9772, allocations: 24 kB / 1.018 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/0.9787, allocations: 119.9 kB / 1.018 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.9788, allocations: 76.5 kB / 1.018 GB, free: 2.59 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.9789, allocations: 43.97 kB / 1.018 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003788/0.9827, allocations: 2.907 MB / 1.021 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9827, allocations: 4 kB / 1.021 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001972/0.9847, allocations: 0.7178 MB / 1.022 GB, free: 14.91 MB / 0.7794 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.001098/0.9858, allocations: 0.5046 MB / 1.022 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005064/0.9909, allocations: 2.533 MB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.9909, allocations: 4 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00263/0.9935, allocations: 1.344 MB / 1.026 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004593/0.9981, allocations: 1.004 MB / 1.027 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009628/1.008, allocations: 4.74 MB / 1.031 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/1.009, allocations: 1.683 MB / 1.033 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001555/1.011, allocations: 369.7 kB / 1.033 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/1.011, allocations: 135.4 kB / 1.034 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of SimCode: time 8.92e-07/1.011, allocations: 0 / 1.034 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.3983/1.41, allocations: 51.8 MB / 1.084 GB, free: 321.2 MB / 0.8262 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=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.995006889104843] Failed to read output from testmodel.py, exit status != 0: 1.4171723825857043 1.4304586830000001 0.606173497 Calling exit ...