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.0007053/0.0007053, allocations: 100.4 kB / 19.71 MB, free: 444 kB / 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.0007062/0.0007062, allocations: 210.9 kB / 23 MB, free: 2.973 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.8604/0.8604, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.7105/0.7105, allocations: 203.8 MB / 0.5049 GB, free: 10.43 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.000939/0.000939, allocations: 70.73 kB / 0.7194 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4732/0.4741, allocations: 102 MB / 0.819 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.166/0.6401, allocations: 199.8 MB / 1.014 GB, free: 13.15 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01363/0.6537, allocations: 11.83 MB / 1.026 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/0.656, allocations: 95.19 kB / 1.026 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.6585, allocations: 1.158 MB / 1.027 GB, free: 32 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.006343/0.6649, allocations: 3.309 MB / 1.03 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003318/0.6682, allocations: 1.878 MB / 1.032 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.005015/0.6732, allocations: 4.216 MB / 1.036 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.6748, allocations: 1.125 MB / 1.037 GB, free: 5.461 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00418/0.679, allocations: 2.215 MB / 1.039 GB, free: 3.242 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.681, allocations: 1.386 MB / 1.041 GB, free: 1.852 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002829/0.6813, allocations: 176 kB / 1.041 GB, free: 1.68 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003612/0.6849, allocations: 2.28 MB / 1.043 GB, free: 15.39 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.000751/0.6856, allocations: 0.9852 MB / 1.044 GB, free: 14.41 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.6871, allocations: 1.061 MB / 1.045 GB, free: 13.34 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.006475/0.6935, allocations: 4.387 MB / 1.049 GB, free: 8.938 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.6936, allocations: 4 kB / 1.049 GB, free: 8.934 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6936, allocations: 0 / 1.049 GB, free: 8.934 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.475e-05/0.6936, allocations: 0 / 1.049 GB, free: 8.934 MB / 0.823 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.004855/0.6985, allocations: 3.097 MB / 1.052 GB, free: 5.773 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.6985, allocations: 8.031 kB / 1.052 GB, free: 5.766 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002442/0.701, allocations: 0.7983 MB / 1.053 GB, free: 4.965 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002984/0.704, allocations: 2.479 MB / 1.056 GB, free: 2.422 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.7042, allocations: 141.5 kB / 1.056 GB, free: 2.27 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.7043, allocations: 112 kB / 1.056 GB, free: 2.16 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.7066, allocations: 2.241 MB / 1.058 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.7066, allocations: 4 kB / 1.058 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/0.7067, allocations: 43.94 kB / 1.058 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-05/0.7068, allocations: 42.08 kB / 1.058 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002783/0.7095, allocations: 2.612 MB / 1.061 GB, free: 13.08 MB / 0.8386 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.007638/0.7172, allocations: 6.628 MB / 1.067 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/0.7196, allocations: 1.994 MB / 1.069 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/0.7207, allocations: 0.9611 MB / 1.07 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004054/0.7211, allocations: 164.5 kB / 1.07 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/0.7223, allocations: 1.183 MB / 1.071 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=91): time 4.067e-06/0.7223, allocations: 0 / 1.071 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of matching and sorting (n=91): time 0.01171/0.734, allocations: 5.736 MB / 1.077 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.7341, allocations: 141.2 kB / 1.077 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003668/0.7378, allocations: 3.714 MB / 1.081 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.7379, allocations: 41.7 kB / 1.081 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006496/0.7386, allocations: 1.034 MB / 1.082 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.7388, allocations: 313.4 kB / 1.082 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.7391, allocations: 214.5 kB / 1.082 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.7392, allocations: 349.9 kB / 1.083 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.7405, allocations: 1.153 MB / 1.084 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.7418, allocations: 1.592 MB / 1.085 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/0.744, allocations: 2.186 MB / 1.087 GB, free: 1.109 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.744, allocations: 3.938 kB / 1.087 GB, free: 1.105 MB / 0.8542 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005123/0.7491, allocations: 3.727 MB / 1.091 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.087e-05/0.7492, allocations: 73.42 kB / 1.091 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.7492, allocations: 11.98 kB / 1.091 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/0.7518, allocations: 1.916 MB / 1.093 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.7524, allocations: 187.7 kB / 1.093 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005266/0.7576, allocations: 6.365 MB / 1.099 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.759, allocations: 191.2 kB / 1.1 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.7591, allocations: 51.97 kB / 1.1 GB, free: 4.262 MB / 0.8698 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.0008803/0.7599, allocations: 0.6492 MB / 1.1 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/0.7603, allocations: 234.5 kB / 1.101 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004314/0.7646, allocations: 3.239 MB / 1.104 GB, free: 76 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.7646, allocations: 12 kB / 1.104 GB, free: 64 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7646, allocations: 0 / 1.104 GB, free: 64 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.7646, allocations: 3.984 kB / 1.104 GB, free: 60 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007074/0.7717, allocations: 5.176 MB / 1.109 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.7717, allocations: 4 kB / 1.109 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.772, allocations: 96.22 kB / 1.109 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00262/0.7746, allocations: 1.909 MB / 1.111 GB, free: 8.75 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.837e-05/0.7747, allocations: 31.98 kB / 1.111 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005008/0.7797, allocations: 6.305 MB / 1.117 GB, free: 2.156 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.7797, allocations: 12.05 kB / 1.117 GB, free: 2.145 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004622/0.7844, allocations: 3.305 MB / 1.12 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009762/0.7853, allocations: 418.1 kB / 1.121 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.7855, allocations: 24.25 kB / 1.121 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007408/0.7863, allocations: 119.8 kB / 1.121 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.7864, allocations: 80.56 kB / 1.121 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.716e-05/0.7865, allocations: 47.91 kB / 1.121 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002403/0.7889, allocations: 2.717 MB / 1.123 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.7889, allocations: 0 / 1.123 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001663/0.7906, allocations: 0.7409 MB / 1.124 GB, free: 10.6 MB / 0.9011 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.0007297/0.7913, allocations: 497.5 kB / 1.125 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003247/0.7945, allocations: 2.673 MB / 1.127 GB, free: 7.363 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.7946, allocations: 4.125 kB / 1.127 GB, free: 7.359 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001519/0.7961, allocations: 1.39 MB / 1.129 GB, free: 5.906 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/0.7986, allocations: 0.8022 MB / 1.129 GB, free: 5.121 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006209/0.8048, allocations: 4.603 MB / 1.134 GB, free: 444 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007748/0.8056, allocations: 1.017 MB / 1.135 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004835/0.8061, allocations: 131.4 kB / 1.135 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of SimCode: time 1.813e-06/0.8061, allocations: 0 / 1.135 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of Templates: time 0.3748/1.181, allocations: 69.91 MB / 1.203 GB, free: 277.4 MB / 0.9167 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.85523970425129] Failed to read output from testmodel.py, exit status != 0: 1.186784144025296 1.191508211 0.49657730200000005 Calling exit ...