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.001434/0.001434, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001727/0.001727, allocations: 222 kB / 23.01 MB, free: 5 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.581/1.581, allocations: 230.6 MB / 256.8 MB, free: 8 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.9992/0.9992, allocations: 150 MB / 463.1 MB, free: 10.58 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: 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: 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.002273/0.002273, allocations: 73.73 kB / 0.6417 GB, free: 10 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2122, allocations: 89.16 MB / 0.7288 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.6878/0.9001, allocations: 229.4 MB / 0.9528 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0238/0.9239, allocations: 12.75 MB / 0.9652 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003996/0.9278, allocations: 91.25 kB / 0.9653 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003741/0.9316, allocations: 1.263 MB / 0.9666 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.009483/0.9411, allocations: 3.33 MB / 0.9698 GB, free: 112 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005773/0.9468, allocations: 1.894 MB / 0.9717 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007708/0.9546, allocations: 4.219 MB / 0.9758 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002455/0.957, allocations: 1.125 MB / 0.9769 GB, free: 8.836 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006839/0.9638, allocations: 2.205 MB / 0.979 GB, free: 6.625 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003511/0.9674, allocations: 1.469 MB / 0.9805 GB, free: 5.156 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0006909/0.9681, allocations: 184 kB / 0.9806 GB, free: 4.977 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007169/0.9752, allocations: 2.861 MB / 0.9834 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001456/0.9767, allocations: 0.9891 MB / 0.9844 GB, free: 1.117 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002805/0.9795, allocations: 1.329 MB / 0.9857 GB, free: 15.78 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.011/0.9905, allocations: 4.441 MB / 0.99 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.9905, allocations: 0 / 0.99 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.825e-06/0.9905, allocations: 0 / 0.99 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001188/0.9906, allocations: 0 / 0.99 GB, free: 11.32 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.007449/0.9981, allocations: 3.108 MB / 0.9931 GB, free: 8.152 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.9981, allocations: 8.031 kB / 0.9931 GB, free: 8.145 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004608/1.003, allocations: 0.7983 MB / 0.9939 GB, free: 7.344 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005143/1.008, allocations: 2.463 MB / 0.9963 GB, free: 4.816 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/1.008, allocations: 149.5 kB / 0.9964 GB, free: 4.656 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/1.008, allocations: 111.1 kB / 0.9965 GB, free: 4.551 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004067/1.012, allocations: 2.054 MB / 0.9985 GB, free: 2.426 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/1.012, allocations: 0 / 0.9985 GB, free: 2.426 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/1.012, allocations: 44 kB / 0.9986 GB, free: 2.383 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.49e-05/1.013, allocations: 50.06 kB / 0.9986 GB, free: 2.332 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004944/1.017, allocations: 2.557 MB / 1.001 GB, free: 15.77 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.01398/1.031, allocations: 8.088 MB / 1.009 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004161/1.036, allocations: 1.935 MB / 1.011 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/1.037, allocations: 0.8959 MB / 1.012 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007515/1.038, allocations: 177.6 kB / 1.012 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001998/1.04, allocations: 1.024 MB / 1.013 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=91): time 4.358e-06/1.04, allocations: 0 / 1.013 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of matching and sorting (n=91): time 0.0247/1.065, allocations: 5.632 MB / 1.018 GB, free: 13.64 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/1.065, allocations: 145.2 kB / 1.019 GB, free: 13.47 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006733/1.072, allocations: 3.977 MB / 1.022 GB, free: 9.48 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003371/1.072, allocations: 45.7 kB / 1.023 GB, free: 9.43 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001109/1.073, allocations: 1.032 MB / 1.024 GB, free: 8.391 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004841/1.074, allocations: 317.3 kB / 1.024 GB, free: 8.078 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004586/1.074, allocations: 214.5 kB / 1.024 GB, free: 7.863 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001925/1.074, allocations: 349.9 kB / 1.024 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002113/1.077, allocations: 1.088 MB / 1.025 GB, free: 6.43 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002382/1.079, allocations: 1.305 MB / 1.027 GB, free: 5.055 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003851/1.083, allocations: 2.171 MB / 1.029 GB, free: 2.793 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.567e-06/1.083, allocations: 4 kB / 1.029 GB, free: 2.789 MB / 0.795 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.008767/1.092, allocations: 3.673 MB / 1.032 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.93e-05/1.092, allocations: 71.38 kB / 1.032 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/1.092, allocations: 11.94 kB / 1.032 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004865/1.097, allocations: 1.918 MB / 1.034 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/1.098, allocations: 187.8 kB / 1.035 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009801/1.107, allocations: 6.435 MB / 1.041 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/1.11, allocations: 238.8 kB / 1.041 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/1.11, allocations: 47.98 kB / 1.041 GB, free: 5.887 MB / 0.8106 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.001303/1.111, allocations: 0.6492 MB / 1.042 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006903/1.112, allocations: 259.2 kB / 1.042 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007993/1.12, allocations: 3.183 MB / 1.045 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/1.12, allocations: 12 kB / 1.045 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/1.12, allocations: 0 / 1.045 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/1.12, allocations: 3.984 kB / 1.045 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/1.133, allocations: 5.547 MB / 1.051 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.133, allocations: 7.938 kB / 1.051 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006662/1.134, allocations: 104.2 kB / 1.051 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004652/1.139, allocations: 1.901 MB / 1.052 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/1.139, allocations: 35.97 kB / 1.053 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00938/1.148, allocations: 6.388 MB / 1.059 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.148, allocations: 7.969 kB / 1.059 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008044/1.156, allocations: 3.261 MB / 1.062 GB, free: 8 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/1.158, allocations: 457.8 kB / 1.062 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003867/1.158, allocations: 27.98 kB / 1.062 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/1.16, allocations: 115.9 kB / 1.063 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/1.16, allocations: 76.47 kB / 1.063 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/1.16, allocations: 43.97 kB / 1.063 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00499/1.165, allocations: 2.919 MB / 1.065 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/1.165, allocations: 0 / 1.065 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003108/1.168, allocations: 0.7139 MB / 1.066 GB, free: 11.66 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.001196/1.17, allocations: 0.4902 MB / 1.067 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005251/1.175, allocations: 2.537 MB / 1.069 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/1.175, allocations: 448 / 1.069 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002667/1.177, allocations: 1.339 MB / 1.07 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005175/1.183, allocations: 1.005 MB / 1.071 GB, free: 6.211 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009943/1.193, allocations: 4.736 MB / 1.076 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3737/1.566, allocations: 1.682 MB / 1.078 GB, free: 293.4 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001663/1.568, allocations: 363.1 kB / 1.078 GB, free: 293.4 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003422/1.568, allocations: 145.4 kB / 1.078 GB, free: 293.4 MB / 0.8419 GB Notification: Performance of SimCode: time 9.12e-07/1.568, allocations: 0 / 1.078 GB, free: 293.4 MB / 0.8419 GB Notification: Performance of Templates: time 0.08016/1.648, allocations: 52.09 MB / 1.129 GB, free: 273.5 MB / 0.8419 GB " [Timeout remaining time 658] 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.362825449090451] Failed to read output from testmodel.py, exit status != 0: 1.6580129638314247 1.666492485 0.673498303 Calling exit ...