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.001266/0.001266, allocations: 93.06 kB / 19.65 MB, free: 280 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.001399/0.001399, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 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.079/1.079, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.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-535:34: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-535:42: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.8096/0.8096, allocations: 154.9 MB / 414.8 MB, free: 380 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.5207 GB, free: 1.859 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.045e-05, allocations: 7.219 kB / 0.5207 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.1472/0.1472, allocations: 161.3 MB / 0.6782 GB, free: 192 kB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.2931/0.4403, allocations: 8.405 MB / 0.6864 GB, free: 49.46 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.442, allocations: 95 kB / 0.6865 GB, free: 49.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.4433, allocations: 0.781 MB / 0.6872 GB, free: 49.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003689/0.447, allocations: 2.4 MB / 0.6896 GB, free: 49.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.4494, allocations: 1.567 MB / 0.6911 GB, free: 49.33 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003152/0.4525, allocations: 4.192 MB / 0.6952 GB, free: 48.87 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.4536, allocations: 1.197 MB / 0.6964 GB, free: 48.74 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.4557, allocations: 2.215 MB / 0.6985 GB, free: 48.54 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.4567, allocations: 1.224 MB / 0.6997 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001892/0.4569, allocations: 173.6 kB / 0.6999 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.4583, allocations: 1.293 MB / 0.7012 GB, free: 48.33 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004905/0.4588, allocations: 1.021 MB / 0.7022 GB, free: 48.2 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006233/0.4595, allocations: 0.8745 MB / 0.703 GB, free: 48.09 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003696/0.4632, allocations: 2.731 MB / 0.7057 GB, free: 47.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.4632, allocations: 0.875 kB / 0.7057 GB, free: 47.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4632, allocations: 0 / 0.7057 GB, free: 47.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.003e-05/0.4632, allocations: 0.7812 kB / 0.7057 GB, free: 47.7 MB / 0.6355 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.003902/0.4671, allocations: 3.133 MB / 0.7087 GB, free: 46.05 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.4672, allocations: 10.5 kB / 0.7088 GB, free: 46.05 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.4692, allocations: 0.803 MB / 0.7095 GB, free: 45.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.4712, allocations: 1.797 MB / 0.7113 GB, free: 45.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.536e-05/0.4713, allocations: 147.8 kB / 0.7114 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.4714, allocations: 110.3 kB / 0.7115 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.4729, allocations: 1.243 MB / 0.7128 GB, free: 44.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.4729, allocations: 2.75 kB / 0.7128 GB, free: 44.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/0.473, allocations: 45.19 kB / 0.7128 GB, free: 44.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.802e-05/0.473, allocations: 45.48 kB / 0.7128 GB, free: 44.78 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.4743, allocations: 0.7137 MB / 0.7135 GB, free: 44.7 MB / 0.6355 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.006521/0.4808, allocations: 5.423 MB / 0.7188 GB, free: 42.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.482, allocations: 0.6028 MB / 0.7194 GB, free: 42.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005402/0.4825, allocations: 361.1 kB / 0.7198 GB, free: 42.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003368/0.4829, allocations: 120.4 kB / 0.7199 GB, free: 42.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006389/0.4835, allocations: 0.5817 MB / 0.7205 GB, free: 42.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=89): time 4.478e-06/0.4835, allocations: 0 / 0.7205 GB, free: 42.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=89): time 0.007594/0.4911, allocations: 2.613 MB / 0.723 GB, free: 41.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.4912, allocations: 152.5 kB / 0.7232 GB, free: 41.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003497/0.4947, allocations: 2.316 MB / 0.7254 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002113/0.4949, allocations: 47.94 kB / 0.7255 GB, free: 41.31 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009033/0.4958, allocations: 1.159 MB / 0.7266 GB, free: 40.97 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/0.4961, allocations: 302.2 kB / 0.7269 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003597/0.4965, allocations: 223.9 kB / 0.7271 GB, free: 40.74 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.897e-05/0.4966, allocations: 0.515 MB / 0.7276 GB, free: 40.26 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004915/0.4971, allocations: 276.2 kB / 0.7279 GB, free: 40.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007497/0.4978, allocations: 0.7618 MB / 0.7286 GB, free: 39.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.4988, allocations: 0.8102 MB / 0.7294 GB, free: 39.19 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.4988, allocations: 0.8438 kB / 0.7294 GB, free: 39.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003249/0.5021, allocations: 1.268 MB / 0.7306 GB, free: 38.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.603e-05/0.5022, allocations: 77.08 kB / 0.7307 GB, free: 38.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.5022, allocations: 7.547 kB / 0.7307 GB, free: 38.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/0.504, allocations: 0.5956 MB / 0.7313 GB, free: 38.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/0.5046, allocations: 188.5 kB / 0.7315 GB, free: 38.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.5066, allocations: 3.045 MB / 0.7344 GB, free: 36.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.5081, allocations: 152 kB / 0.7346 GB, free: 36.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.5082, allocations: 51.45 kB / 0.7346 GB, free: 36.15 MB / 0.6355 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 (90): * Single equations (assignments): 85 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006467/0.5089, allocations: 292.1 kB / 0.7349 GB, free: 35.92 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003589/0.5092, allocations: 259.2 kB / 0.7352 GB, free: 35.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/0.5115, allocations: 1.316 MB / 0.7365 GB, free: 35.54 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.5115, allocations: 14.81 kB / 0.7365 GB, free: 35.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.5115, allocations: 3.312 kB / 0.7365 GB, free: 35.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-05/0.5115, allocations: 8.766 kB / 0.7365 GB, free: 35.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004644/0.5161, allocations: 3.1 MB / 0.7395 GB, free: 34.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.5161, allocations: 0 / 0.7395 GB, free: 34.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/0.5165, allocations: 118.9 kB / 0.7396 GB, free: 34.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00106/0.5176, allocations: 0.5865 MB / 0.7402 GB, free: 34.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.727e-05/0.5176, allocations: 31.66 kB / 0.7402 GB, free: 34.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.519, allocations: 3.045 MB / 0.7432 GB, free: 32.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.519, allocations: 12.86 kB / 0.7432 GB, free: 32.26 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.5212, allocations: 1.489 MB / 0.7447 GB, free: 31.62 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006232/0.5218, allocations: 418.1 kB / 0.7451 GB, free: 31.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/0.522, allocations: 22.88 kB / 0.7451 GB, free: 31.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005768/0.5226, allocations: 75.8 kB / 0.7452 GB, free: 31.47 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.5227, allocations: 71.67 kB / 0.7452 GB, free: 31.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.318e-05/0.5228, allocations: 43.42 kB / 0.7453 GB, free: 31.47 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00139/0.5242, allocations: 1.43 MB / 0.7467 GB, free: 31.17 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5242, allocations: 0 / 0.7467 GB, free: 31.17 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001568/0.5257, allocations: 0.6827 MB / 0.7473 GB, free: 31.05 MB / 0.6355 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 (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006832/0.5264, allocations: 381.3 kB / 0.7477 GB, free: 30.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.5281, allocations: 1.139 MB / 0.7488 GB, free: 30.35 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5281, allocations: 0 / 0.7488 GB, free: 30.35 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007237/0.5288, allocations: 0.7218 MB / 0.7495 GB, free: 29.92 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/0.5313, allocations: 0.8609 MB / 0.7504 GB, free: 29.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005271/0.5366, allocations: 3.836 MB / 0.7541 GB, free: 27.62 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.5369, allocations: 498.3 kB / 0.7546 GB, free: 27.47 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001071/0.538, allocations: 313.7 kB / 0.7549 GB, free: 27.38 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.5383, allocations: 128.1 kB / 0.755 GB, free: 27.37 MB / 0.6355 GB Notification: Performance of SimCode: time 1.773e-06/0.5383, allocations: 0 / 0.755 GB, free: 27.37 MB / 0.6355 GB Notification: Performance of Templates: time 0.04939/0.5877, allocations: 43.89 MB / 0.7979 GB, free: 9.277 MB / 0.6355 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.421704387292266]