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.001412/0.001412, allocations: 105 kB / 20.45 MB, free: 1.5 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.001578/0.001578, allocations: 219.9 kB / 23.76 MB, free: 4.711 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.44/1.44, allocations: 230.6 MB / 257.5 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 0.9823/0.9823, allocations: 150 MB / 463.9 MB, free: 10.52 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.0023/0.0023, allocations: 69.58 kB / 0.6425 GB, free: 9.91 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1821, allocations: 89.18 MB / 0.7296 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.6797/0.8618, allocations: 229.4 MB / 0.9536 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02334/0.8852, allocations: 12.74 MB / 0.966 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003918/0.8891, allocations: 95.25 kB / 0.9661 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004394/0.8935, allocations: 1.255 MB / 0.9673 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01132/0.9048, allocations: 3.326 MB / 0.9706 GB, free: 52 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005955/0.9108, allocations: 1.889 MB / 0.9724 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007512/0.9183, allocations: 4.225 MB / 0.9765 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002292/0.9206, allocations: 1.125 MB / 0.9776 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006017/0.9266, allocations: 2.211 MB / 0.9798 GB, free: 6.562 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003215/0.9298, allocations: 1.464 MB / 0.9812 GB, free: 5.094 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004999/0.9303, allocations: 184 kB / 0.9814 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006373/0.9367, allocations: 2.865 MB / 0.9842 GB, free: 2.043 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001293/0.938, allocations: 0.9891 MB / 0.9852 GB, free: 1.051 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002251/0.9402, allocations: 1.329 MB / 0.9865 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.9505, allocations: 4.441 MB / 0.9908 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.9505, allocations: 0 / 0.9908 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9505, allocations: 0 / 0.9908 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.429e-05/0.9506, allocations: 0 / 0.9908 GB, free: 11.26 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.00701/0.9576, allocations: 3.105 MB / 0.9938 GB, free: 8.09 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.9576, allocations: 8.031 kB / 0.9938 GB, free: 8.082 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004999/0.9626, allocations: 0.7983 MB / 0.9946 GB, free: 7.281 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006457/0.9691, allocations: 2.47 MB / 0.997 GB, free: 4.75 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000252/0.9694, allocations: 145.5 kB / 0.9972 GB, free: 4.594 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003002/0.9697, allocations: 112 kB / 0.9973 GB, free: 4.484 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004733/0.9744, allocations: 2.058 MB / 0.9993 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.9744, allocations: 0 / 0.9993 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.9746, allocations: 44 kB / 0.9993 GB, free: 2.312 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.786e-05/0.9746, allocations: 50.06 kB / 0.9994 GB, free: 2.262 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005165/0.9798, allocations: 2.558 MB / 1.002 GB, free: 15.7 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.01646/0.9963, allocations: 8.084 MB / 1.01 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004409/1.001, allocations: 1.937 MB / 1.012 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001986/1.003, allocations: 0.8936 MB / 1.013 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008188/1.003, allocations: 177.5 kB / 1.013 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002192/1.006, allocations: 1.016 MB / 1.014 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=91): time 4.999e-06/1.006, allocations: 0 / 1.014 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of matching and sorting (n=91): time 0.02511/1.031, allocations: 5.632 MB / 1.019 GB, free: 13.58 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/1.031, allocations: 145.2 kB / 1.019 GB, free: 13.41 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008888/1.04, allocations: 3.977 MB / 1.023 GB, free: 9.418 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003703/1.04, allocations: 57.64 kB / 1.023 GB, free: 9.355 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001446/1.042, allocations: 1.024 MB / 1.024 GB, free: 8.324 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007001/1.042, allocations: 313.3 kB / 1.025 GB, free: 8.016 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007901/1.043, allocations: 218.5 kB / 1.025 GB, free: 7.797 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002265/1.043, allocations: 345.9 kB / 1.025 GB, free: 7.453 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002331/1.046, allocations: 1.088 MB / 1.026 GB, free: 6.367 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00262/1.048, allocations: 1.301 MB / 1.027 GB, free: 4.996 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004513/1.053, allocations: 2.179 MB / 1.03 GB, free: 2.727 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/1.053, allocations: 4 kB / 1.03 GB, free: 2.723 MB / 0.795 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009639/1.062, allocations: 3.669 MB / 1.033 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/1.063, allocations: 71.39 kB / 1.033 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/1.063, allocations: 4 kB / 1.033 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00509/1.068, allocations: 1.927 MB / 1.035 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/1.069, allocations: 187.8 kB / 1.035 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/1.079, allocations: 6.445 MB / 1.042 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/1.082, allocations: 242.8 kB / 1.042 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000426/1.083, allocations: 47.98 kB / 1.042 GB, free: 5.816 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.00184/1.085, allocations: 0.6466 MB / 1.042 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/1.086, allocations: 262.3 kB / 1.043 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009151/1.095, allocations: 3.181 MB / 1.046 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.962e-05/1.095, allocations: 8 kB / 1.046 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/1.095, allocations: 0 / 1.046 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/1.095, allocations: 3.984 kB / 1.046 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/1.111, allocations: 5.547 MB / 1.051 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/1.111, allocations: 8.75 kB / 1.051 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006899/1.111, allocations: 104.3 kB / 1.051 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00479/1.116, allocations: 1.909 MB / 1.053 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001862/1.116, allocations: 39.97 kB / 1.053 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009844/1.126, allocations: 6.378 MB / 1.06 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-06/1.126, allocations: 11.91 kB / 1.06 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009024/1.135, allocations: 3.257 MB / 1.063 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001994/1.137, allocations: 457.8 kB / 1.063 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009553/1.138, allocations: 27.98 kB / 1.063 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/1.14, allocations: 115.9 kB / 1.063 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/1.141, allocations: 76.47 kB / 1.063 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/1.141, allocations: 43.97 kB / 1.063 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.005681/1.147, allocations: 2.919 MB / 1.066 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/1.147, allocations: 4 kB / 1.066 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003564/1.15, allocations: 0.71 MB / 1.067 GB, free: 11.59 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.001723/1.152, allocations: 499.4 kB / 1.067 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00652/1.158, allocations: 2.537 MB / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.158, allocations: 448 / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.003178/1.162, allocations: 1.343 MB / 1.071 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006381/1.168, allocations: 1.002 MB / 1.072 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/1.179, allocations: 4.579 MB / 1.077 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3761/1.555, allocations: 1.594 MB / 1.078 GB, free: 293.9 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007912/1.556, allocations: 142.9 kB / 1.078 GB, free: 293.9 MB / 0.8419 GB Notification: Performance of SimCode: time 1.613e-06/1.556, allocations: 0.6562 kB / 1.078 GB, free: 293.9 MB / 0.8419 GB Notification: Performance of Templates: time 0.0857/1.642, allocations: 71.59 MB / 1.148 GB, free: 254.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: 17.70916990819387] Failed to read output from testmodel.py, exit status != 0: 1.6519396998919547 1.6606991979999999 0.707722785 Calling exit ...