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.001397/0.001397, allocations: 75.75 kB / 20.51 MB, free: 1.121 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.001469/0.001469, allocations: 162.4 kB / 23.76 MB, free: 4.195 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.43/1.43, allocations: 177.2 MB / 204.1 MB, free: 9 MB / 190.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.9291/0.9291, allocations: 113.9 MB / 374.5 MB, free: 12.86 MB / 350.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.002304/0.002304, allocations: 71.69 kB / 0.555 GB, free: 2.746 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1881, allocations: 89.14 MB / 0.6421 GB, free: 9.555 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.5685/0.7567, allocations: 199.8 MB / 0.8372 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02081/0.7775, allocations: 11.84 MB / 0.8488 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003109/0.7806, allocations: 95.25 kB / 0.8488 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003293/0.7839, allocations: 1.165 MB / 0.85 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.008977/0.7929, allocations: 3.293 MB / 0.8532 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005499/0.7983, allocations: 1.856 MB / 0.855 GB, free: 8.316 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.006713/0.8051, allocations: 4.201 MB / 0.8591 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001937/0.807, allocations: 1.121 MB / 0.8602 GB, free: 2.945 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005449/0.8124, allocations: 2.226 MB / 0.8624 GB, free: 0.7148 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002777/0.8152, allocations: 1.366 MB / 0.8637 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003728/0.8156, allocations: 180 kB / 0.8639 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004911/0.8205, allocations: 2.292 MB / 0.8661 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009865/0.8215, allocations: 0.9735 MB / 0.8671 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.8229, allocations: 1.073 MB / 0.8681 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007067/0.83, allocations: 4.391 MB / 0.8724 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.83, allocations: 0 / 0.8724 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.83, allocations: 0 / 0.8724 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.359e-05/0.8301, allocations: 0 / 0.8724 GB, free: 6.41 MB / 0.7169 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.006051/0.8361, allocations: 3.093 MB / 0.8754 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.8362, allocations: 12.03 kB / 0.8754 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004605/0.8408, allocations: 0.8022 MB / 0.8762 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004597/0.8454, allocations: 2.475 MB / 0.8786 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.8455, allocations: 141.5 kB / 0.8788 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/0.8457, allocations: 112 kB / 0.8789 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003967/0.8497, allocations: 2.245 MB / 0.8811 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.8497, allocations: 0 / 0.8811 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.8499, allocations: 47.98 kB / 0.8811 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.974e-05/0.8499, allocations: 46.08 kB / 0.8812 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004893/0.8548, allocations: 2.615 MB / 0.8837 GB, free: 10.55 MB / 0.7325 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.0116/0.8664, allocations: 6.612 MB / 0.8902 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004122/0.8705, allocations: 2.003 MB / 0.8921 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/0.8724, allocations: 0.9477 MB / 0.8931 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007053/0.8731, allocations: 168.5 kB / 0.8932 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002068/0.8752, allocations: 1.179 MB / 0.8944 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=91): time 3.006e-06/0.8752, allocations: 4 kB / 0.8944 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=91): time 0.02364/0.8989, allocations: 5.741 MB / 0.9 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.899, allocations: 145.2 kB / 0.9001 GB, free: 9.457 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005472/0.9045, allocations: 3.714 MB / 0.9038 GB, free: 5.719 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002249/0.9047, allocations: 45.7 kB / 0.9038 GB, free: 5.668 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.9057, allocations: 1.034 MB / 0.9048 GB, free: 4.625 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003725/0.9061, allocations: 313.3 kB / 0.9051 GB, free: 4.316 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004057/0.9065, allocations: 218.5 kB / 0.9053 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.9066, allocations: 349.9 kB / 0.9056 GB, free: 3.75 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/0.9088, allocations: 1.157 MB / 0.9068 GB, free: 2.582 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002505/0.9114, allocations: 1.589 MB / 0.9083 GB, free: 0.8516 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004028/0.9154, allocations: 2.183 MB / 0.9105 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.9154, allocations: 4 kB / 0.9105 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.008891/0.9243, allocations: 3.715 MB / 0.9141 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 8.092e-05/0.9244, allocations: 71.77 kB / 0.9142 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.9244, allocations: 8 kB / 0.9142 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004752/0.9291, allocations: 1.918 MB / 0.916 GB, free: 8.797 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.9302, allocations: 187.7 kB / 0.9162 GB, free: 8.613 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009467/0.9397, allocations: 6.377 MB / 0.9224 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.9418, allocations: 195.2 kB / 0.9226 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/0.942, allocations: 51.98 kB / 0.9227 GB, free: 1.742 MB / 0.7637 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.001167/0.9431, allocations: 0.6453 MB / 0.9233 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004933/0.9436, allocations: 234.5 kB / 0.9235 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008327/0.952, allocations: 3.235 MB / 0.9267 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.952, allocations: 15.98 kB / 0.9267 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.952, allocations: 0 / 0.9267 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.952, allocations: 7.984 kB / 0.9267 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/0.9643, allocations: 5.169 MB / 0.9318 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.9643, allocations: 4 kB / 0.9318 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006847/0.965, allocations: 108.2 kB / 0.9319 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004528/0.9695, allocations: 1.905 MB / 0.9337 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.9696, allocations: 35.97 kB / 0.9338 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009012/0.9786, allocations: 6.309 MB / 0.9399 GB, free: 15.63 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.9786, allocations: 4 kB / 0.9399 GB, free: 15.62 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008143/0.9868, allocations: 3.298 MB / 0.9432 GB, free: 12.23 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/0.9881, allocations: 422.1 kB / 0.9436 GB, free: 11.82 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003014/0.9884, allocations: 28.09 kB / 0.9436 GB, free: 11.79 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.9898, allocations: 119.8 kB / 0.9437 GB, free: 11.68 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.99, allocations: 76.5 kB / 0.9438 GB, free: 11.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.9901, allocations: 47.95 kB / 0.9438 GB, free: 11.55 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003725/0.9938, allocations: 2.717 MB / 0.9465 GB, free: 8.824 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9938, allocations: 0 / 0.9465 GB, free: 8.824 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002317/0.9962, allocations: 0.7448 MB / 0.9472 GB, free: 8.078 MB / 0.795 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.0009831/0.9971, allocations: 490.1 kB / 0.9477 GB, free: 7.59 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005319/1.002, allocations: 2.661 MB / 0.9503 GB, free: 4.852 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.002, allocations: 0 / 0.9503 GB, free: 4.852 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002817/1.005, allocations: 1.406 MB / 0.9516 GB, free: 3.387 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00379/1.009, allocations: 0.7993 MB / 0.9524 GB, free: 2.594 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009002/1.018, allocations: 4.768 MB / 0.9571 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/1.019, allocations: 1.11 MB / 0.9582 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001238/1.021, allocations: 343.5 kB / 0.9585 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/1.021, allocations: 124.5 kB / 0.9586 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of SimCode: time 8.52e-07/1.021, allocations: 0 / 0.9586 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of Templates: time 0.07593/1.097, allocations: 44.62 MB / 1.002 GB, free: 292 kB / 0.8419 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 ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.009543471038342] Failed to read output from testmodel.py, exit status != 0: 1.1059205119963735 1.119527312 0.28640772299999995 Calling exit ...