Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0007321/0.0007321, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008641/0.0008641, allocations: 215.7 kB / 23.01 MB, free: 3.109 MB / 13.93 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 0.8432/0.8432, allocations: 230.6 MB / 256.8 MB, free: 3.438 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7309/0.7309, allocations: 203.8 MB / 0.5049 GB, free: 0.6836 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource") translateModel(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource") [Timeout 660] "Notification: IDEAS 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.0008808/0.0008808, allocations: 71.89 kB / 0.7195 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4284, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.1752/0.6035, allocations: 229.4 MB / 1.043 GB, free: 13.04 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01446/0.618, allocations: 12.76 MB / 1.056 GB, free: 256 kB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.6195, allocations: 91.25 kB / 1.056 GB, free: 164 kB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002162/0.6217, allocations: 1.255 MB / 1.057 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.005127/0.6268, allocations: 3.33 MB / 1.06 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.002759/0.6296, allocations: 1.938 MB / 1.062 GB, free: 9.637 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.003382/0.633, allocations: 4.23 MB / 1.066 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009563/0.6339, allocations: 1.125 MB / 1.067 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002533/0.6364, allocations: 2.207 MB / 1.069 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.6376, allocations: 1.469 MB / 1.071 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.6378, allocations: 188 kB / 1.071 GB, free: 376 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003351/0.6411, allocations: 2.861 MB / 1.074 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004966/0.6416, allocations: 0.9852 MB / 1.075 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0007759/0.6424, allocations: 1.329 MB / 1.076 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00399/0.6464, allocations: 4.438 MB / 1.08 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6464, allocations: 3.984 kB / 1.08 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6464, allocations: 0 / 1.08 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.598e-05/0.6464, allocations: 0 / 1.08 GB, free: 6.719 MB / 0.8542 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.003455/0.6499, allocations: 3.105 MB / 1.083 GB, free: 3.551 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.6499, allocations: 13.45 kB / 1.083 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.6519, allocations: 0.7944 MB / 1.084 GB, free: 2.742 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002378/0.6542, allocations: 2.467 MB / 1.087 GB, free: 216 kB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004258/0.6547, allocations: 153.5 kB / 1.087 GB, free: 48 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.6548, allocations: 108.1 kB / 1.087 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.6569, allocations: 2.058 MB / 1.089 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.6569, allocations: 0 / 1.089 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.883e-05/0.657, allocations: 44 kB / 1.089 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.152e-05/0.657, allocations: 42.08 kB / 1.089 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/0.6596, allocations: 2.558 MB / 1.091 GB, free: 11.16 MB / 0.8698 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.006859/0.6664, allocations: 8.091 MB / 1.099 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/0.6689, allocations: 1.937 MB / 1.101 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009685/0.6698, allocations: 0.9005 MB / 1.102 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003498/0.6702, allocations: 172.5 kB / 1.102 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.6712, allocations: 1.024 MB / 1.103 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=91): time 1.954e-06/0.6712, allocations: 3.938 kB / 1.103 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=91): time 0.01038/0.6816, allocations: 5.628 MB / 1.109 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.6817, allocations: 145.2 kB / 1.109 GB, free: 8.867 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003118/0.6848, allocations: 3.977 MB / 1.113 GB, free: 4.879 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.6849, allocations: 45.7 kB / 1.113 GB, free: 4.828 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005814/0.6854, allocations: 1.028 MB / 1.114 GB, free: 3.793 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.6856, allocations: 313.4 kB / 1.114 GB, free: 3.484 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.6859, allocations: 214.5 kB / 1.114 GB, free: 3.266 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002615/0.6861, allocations: 349.9 kB / 1.115 GB, free: 2.918 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.6872, allocations: 1.084 MB / 1.116 GB, free: 1.836 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.6884, allocations: 1.309 MB / 1.117 GB, free: 464 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3764/1.065, allocations: 2.177 MB / 1.119 GB, free: 268.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.627e-06/1.065, allocations: 1.688 kB / 1.119 GB, free: 268.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005556/1.07, allocations: 3.669 MB / 1.123 GB, free: 267.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.099e-05/1.07, allocations: 72.78 kB / 1.123 GB, free: 267.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/1.07, allocations: 3.75 kB / 1.123 GB, free: 267.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003305/1.074, allocations: 1.914 MB / 1.125 GB, free: 267.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005478/1.074, allocations: 189.8 kB / 1.125 GB, free: 267.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005449/1.08, allocations: 6.45 MB / 1.131 GB, free: 262.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/1.081, allocations: 231.8 kB / 1.131 GB, free: 262.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.081, allocations: 54.53 kB / 1.131 GB, free: 262.6 MB / 0.8855 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.001009/1.082, allocations: 0.6442 MB / 1.132 GB, free: 262.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003119/1.083, allocations: 263.8 kB / 1.132 GB, free: 262.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004682/1.087, allocations: 3.19 MB / 1.135 GB, free: 261.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/1.087, allocations: 9.219 kB / 1.135 GB, free: 261.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/1.087, allocations: 2.125 kB / 1.135 GB, free: 261.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/1.087, allocations: 4.219 kB / 1.135 GB, free: 261.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007034/1.094, allocations: 5.549 MB / 1.141 GB, free: 259.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/1.094, allocations: 3.094 kB / 1.141 GB, free: 259.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/1.095, allocations: 110 kB / 1.141 GB, free: 259 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002468/1.097, allocations: 1.907 MB / 1.143 GB, free: 258.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.978e-05/1.097, allocations: 36.02 kB / 1.143 GB, free: 258.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004405/1.102, allocations: 6.381 MB / 1.149 GB, free: 253.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/1.102, allocations: 11.61 kB / 1.149 GB, free: 253.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004267/1.106, allocations: 3.255 MB / 1.152 GB, free: 252.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007177/1.107, allocations: 448.8 kB / 1.153 GB, free: 252.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/1.107, allocations: 25.11 kB / 1.153 GB, free: 252.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007719/1.108, allocations: 124.5 kB / 1.153 GB, free: 252.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/1.108, allocations: 70.22 kB / 1.153 GB, free: 252.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.258e-05/1.108, allocations: 38.89 kB / 1.153 GB, free: 252.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003035/1.111, allocations: 2.921 MB / 1.156 GB, free: 251.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/1.111, allocations: 0 / 1.156 GB, free: 251.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001596/1.112, allocations: 0.7203 MB / 1.157 GB, free: 251.2 MB / 0.8855 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.0007015/1.113, allocations: 495.5 kB / 1.157 GB, free: 251 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003336/1.117, allocations: 2.543 MB / 1.16 GB, free: 250 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.117, allocations: 1.25 kB / 1.16 GB, free: 250 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/1.118, allocations: 1.332 MB / 1.161 GB, free: 249.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/1.12, allocations: 1.012 MB / 1.162 GB, free: 249.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005743/1.126, allocations: 4.593 MB / 1.166 GB, free: 247 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009495/1.127, allocations: 1.6 MB / 1.168 GB, free: 246.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/1.127, allocations: 142.1 kB / 1.168 GB, free: 246.1 MB / 0.8855 GB Notification: Performance of SimCode: time 7.72e-07/1.127, allocations: 3.938 kB / 1.168 GB, free: 246.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.03965/1.167, allocations: 71.58 MB / 1.238 GB, free: 181.7 MB / 0.8855 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & ./IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.3940123480279] Failed to read output from testmodel.py, exit status != 0: 1.1723973830230534 1.178025555 0.530323483 Calling exit ...