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.001316/0.001316, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009117/0.0009117, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.8717/0.8717, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.8036/0.8036, allocations: 154.9 MB / 415.1 MB, free: 264 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.813e-06/1.813e-06, allocations: 0 / 0.5211 GB, free: 1.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.355e-05, allocations: 7.328 kB / 0.5211 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.1357/0.1358, allocations: 158.3 MB / 0.6757 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.3132/0.4489, allocations: 8.336 MB / 0.6838 GB, free: 49.58 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/0.4511, allocations: 91.91 kB / 0.6839 GB, free: 49.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.4526, allocations: 0.7768 MB / 0.6847 GB, free: 49.56 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00446/0.4571, allocations: 2.4 MB / 0.687 GB, free: 49.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002691/0.4598, allocations: 1.565 MB / 0.6885 GB, free: 49.45 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004288/0.4641, allocations: 4.206 MB / 0.6926 GB, free: 49.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.4657, allocations: 1.192 MB / 0.6938 GB, free: 48.89 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00322/0.4689, allocations: 2.213 MB / 0.696 GB, free: 48.69 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.4704, allocations: 1.231 MB / 0.6972 GB, free: 48.54 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003888/0.4708, allocations: 175.9 kB / 0.6973 GB, free: 48.54 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002567/0.4734, allocations: 1.284 MB / 0.6986 GB, free: 48.48 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006817/0.474, allocations: 1.028 MB / 0.6996 GB, free: 48.35 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009467/0.475, allocations: 0.8677 MB / 0.7004 GB, free: 48.24 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003356/0.4783, allocations: 2.732 MB / 0.7031 GB, free: 47.85 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4784, allocations: 0.9062 kB / 0.7031 GB, free: 47.85 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4784, allocations: 2.25 kB / 0.7031 GB, free: 47.85 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.973e-05/0.4784, allocations: 0 / 0.7031 GB, free: 47.85 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.003293/0.4817, allocations: 3.155 MB / 0.7062 GB, free: 46.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.4817, allocations: 9.969 kB / 0.7062 GB, free: 46.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002308/0.484, allocations: 0.7966 MB / 0.707 GB, free: 46.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/0.486, allocations: 1.703 MB / 0.7086 GB, free: 45.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.4861, allocations: 147 kB / 0.7088 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.4862, allocations: 114.7 kB / 0.7089 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.4877, allocations: 1.16 MB / 0.71 GB, free: 44.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.4877, allocations: 0 / 0.71 GB, free: 44.94 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.171e-05/0.4878, allocations: 42.03 kB / 0.7101 GB, free: 44.94 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.043e-05/0.4879, allocations: 44.3 kB / 0.7101 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008812/0.4887, allocations: 0.5908 MB / 0.7107 GB, free: 44.83 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.006407/0.4952, allocations: 5.023 MB / 0.7156 GB, free: 42.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.4963, allocations: 0.5412 MB / 0.7161 GB, free: 42.76 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004626/0.4967, allocations: 320.6 kB / 0.7164 GB, free: 42.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003459/0.4971, allocations: 138.6 kB / 0.7166 GB, free: 42.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005631/0.4977, allocations: 0.5451 MB / 0.7171 GB, free: 42.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=89): time 3.947e-06/0.4977, allocations: 0 / 0.7171 GB, free: 42.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=89): time 0.007909/0.5056, allocations: 2.492 MB / 0.7195 GB, free: 41.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.5056, allocations: 147.4 kB / 0.7197 GB, free: 41.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003085/0.5087, allocations: 2.171 MB / 0.7218 GB, free: 41.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001928/0.5089, allocations: 47.17 kB / 0.7218 GB, free: 41.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008568/0.5097, allocations: 1.17 MB / 0.723 GB, free: 41.13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/0.51, allocations: 314.1 kB / 0.7233 GB, free: 40.94 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003274/0.5104, allocations: 222.5 kB / 0.7235 GB, free: 40.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.393e-05/0.5104, allocations: 0.5192 MB / 0.724 GB, free: 40.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/0.5109, allocations: 252.2 kB / 0.7242 GB, free: 40.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/0.5115, allocations: 0.7456 MB / 0.725 GB, free: 39.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009175/0.5124, allocations: 0.776 MB / 0.7257 GB, free: 39.35 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.5124, allocations: 1.406 kB / 0.7257 GB, free: 39.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002161/0.5146, allocations: 1.203 MB / 0.7269 GB, free: 39.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.993e-05/0.5146, allocations: 73.19 kB / 0.727 GB, free: 38.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.5147, allocations: 4.5 kB / 0.727 GB, free: 38.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/0.5161, allocations: 0.5827 MB / 0.7275 GB, free: 38.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006681/0.5168, allocations: 191.8 kB / 0.7277 GB, free: 38.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.5185, allocations: 2.989 MB / 0.7306 GB, free: 36.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.5198, allocations: 144.6 kB / 0.7308 GB, free: 36.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.5199, allocations: 52.8 kB / 0.7308 GB, free: 36.34 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.0005884/0.5205, allocations: 291.5 kB / 0.7311 GB, free: 36.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004033/0.5209, allocations: 263.8 kB / 0.7314 GB, free: 35.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/0.5231, allocations: 1.216 MB / 0.7325 GB, free: 35.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.5231, allocations: 13.52 kB / 0.7326 GB, free: 35.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5231, allocations: 3.984 kB / 0.7326 GB, free: 35.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.5231, allocations: 5.062 kB / 0.7326 GB, free: 35.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00484/0.528, allocations: 2.661 MB / 0.7352 GB, free: 35.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.528, allocations: 2.812 kB / 0.7352 GB, free: 35.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004491/0.5284, allocations: 116.5 kB / 0.7353 GB, free: 35.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.5297, allocations: 0.5736 MB / 0.7358 GB, free: 35.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.284e-05/0.5298, allocations: 34.39 kB / 0.7359 GB, free: 35.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.5313, allocations: 2.991 MB / 0.7388 GB, free: 32.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5313, allocations: 8.219 kB / 0.7388 GB, free: 32.51 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.5334, allocations: 1.399 MB / 0.7402 GB, free: 31.87 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007946/0.5342, allocations: 398.9 kB / 0.7405 GB, free: 31.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/0.5345, allocations: 25.56 kB / 0.7406 GB, free: 31.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007629/0.5352, allocations: 82.86 kB / 0.7406 GB, free: 31.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.5354, allocations: 66.42 kB / 0.7407 GB, free: 31.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-05/0.5354, allocations: 42.62 kB / 0.7407 GB, free: 31.72 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001346/0.5368, allocations: 1.273 MB / 0.742 GB, free: 31.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5368, allocations: 0 / 0.742 GB, free: 31.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001471/0.5383, allocations: 0.6856 MB / 0.7427 GB, free: 31.45 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.0005497/0.5388, allocations: 378.7 kB / 0.743 GB, free: 31.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.5401, allocations: 1.076 MB / 0.7441 GB, free: 30.88 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5401, allocations: 3.094 kB / 0.7441 GB, free: 30.88 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006064/0.5407, allocations: 0.6913 MB / 0.7448 GB, free: 30.49 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/0.5429, allocations: 0.8559 MB / 0.7456 GB, free: 30.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/0.5477, allocations: 3.825 MB / 0.7493 GB, free: 28.54 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.548, allocations: 0.4885 MB / 0.7498 GB, free: 28.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009982/0.549, allocations: 276.2 kB / 0.7501 GB, free: 28.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/0.5502, allocations: 0.7628 MB / 0.7508 GB, free: 28.3 MB / 0.6355 GB Notification: Performance of SimCode: time 1.784e-06/0.5502, allocations: 0 / 0.7508 GB, free: 28.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.04639/0.5966, allocations: 44.45 MB / 0.7942 GB, free: 10.39 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.000308800954372]