Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001451/0.001451, allocations: 103.6 kB / 18.95 MB, free: 2.664 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.001567/0.001567, allocations: 210.9 kB / 22.24 MB, free: 5.266 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.254/1.254, allocations: 203.5 MB / 0.5038 GB, free: 4.895 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource") translateModel(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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.002118/0.002118, allocations: 73.45 kB / 0.7183 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7516/0.7538, allocations: 102 MB / 0.8179 GB, free: 29.07 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.3102/1.064, allocations: 199.8 MB / 1.013 GB, free: 14.43 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02309/1.087, allocations: 11.84 MB / 1.025 GB, free: 2.566 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003166/1.09, allocations: 95.19 kB / 1.025 GB, free: 2.473 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003682/1.094, allocations: 1.158 MB / 1.026 GB, free: 1.309 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00984/1.104, allocations: 3.306 MB / 1.029 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005597/1.109, allocations: 1.877 MB / 1.031 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00675/1.116, allocations: 4.204 MB / 1.035 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002432/1.118, allocations: 1.125 MB / 1.036 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005854/1.124, allocations: 2.216 MB / 1.038 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003016/1.127, allocations: 1.385 MB / 1.04 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0007371/1.128, allocations: 180 kB / 1.04 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006363/1.134, allocations: 2.288 MB / 1.042 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.00152/1.136, allocations: 0.9774 MB / 1.043 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002953/1.139, allocations: 1.069 MB / 1.044 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01118/1.15, allocations: 4.383 MB / 1.048 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.978e-06/1.15, allocations: 0 / 1.048 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.904e-06/1.15, allocations: 0 / 1.048 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001922/1.15, allocations: 3.938 kB / 1.048 GB, free: 10.23 MB / 0.8262 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.009635/1.16, allocations: 3.093 MB / 1.051 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.16, allocations: 8.031 kB / 1.051 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005367/1.165, allocations: 0.7983 MB / 1.052 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005923/1.171, allocations: 2.483 MB / 1.054 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/1.171, allocations: 149.5 kB / 1.055 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003906/1.172, allocations: 112 kB / 1.055 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004885/1.177, allocations: 2.234 MB / 1.057 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/1.177, allocations: 4 kB / 1.057 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/1.177, allocations: 40 kB / 1.057 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.006e-05/1.177, allocations: 54 kB / 1.057 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005346/1.182, allocations: 2.608 MB / 1.06 GB, free: 14.37 MB / 0.8419 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.01429/1.197, allocations: 6.628 MB / 1.066 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004284/1.201, allocations: 2.005 MB / 1.068 GB, free: 5.613 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002003/1.203, allocations: 0.9445 MB / 1.069 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008067/1.204, allocations: 172.5 kB / 1.069 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002339/1.206, allocations: 1.171 MB / 1.07 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=91): time 3.867e-06/1.206, allocations: 0 / 1.07 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of matching and sorting (n=91): time 0.02531/1.231, allocations: 5.745 MB / 1.076 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/1.232, allocations: 149.2 kB / 1.076 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006637/1.238, allocations: 3.706 MB / 1.08 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002416/1.238, allocations: 41.7 kB / 1.08 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001168/1.24, allocations: 1.034 MB / 1.081 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004767/1.24, allocations: 309.4 kB / 1.081 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005648/1.241, allocations: 218.5 kB / 1.081 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001966/1.241, allocations: 353.9 kB / 1.081 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002462/1.243, allocations: 1.15 MB / 1.083 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002663/1.246, allocations: 1.589 MB / 1.084 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004068/1.25, allocations: 2.194 MB / 1.086 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.25, allocations: 0 / 1.086 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009452/1.26, allocations: 3.715 MB / 1.09 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.191e-05/1.26, allocations: 75.39 kB / 1.09 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/1.26, allocations: 7.984 kB / 1.09 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004989/1.265, allocations: 1.917 MB / 1.092 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/1.266, allocations: 195.7 kB / 1.092 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009728/1.275, allocations: 6.372 MB / 1.098 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/1.278, allocations: 195.2 kB / 1.098 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002678/1.278, allocations: 47.98 kB / 1.099 GB, free: 5.566 MB / 0.8731 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.001432/1.28, allocations: 0.6492 MB / 1.099 GB, free: 4.895 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007188/1.28, allocations: 234.5 kB / 1.099 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008647/1.289, allocations: 3.234 MB / 1.103 GB, free: 1.383 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/1.289, allocations: 8 kB / 1.103 GB, free: 1.375 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.289, allocations: 0 / 1.103 GB, free: 1.375 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/1.289, allocations: 7.922 kB / 1.103 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/1.303, allocations: 5.172 MB / 1.108 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/1.303, allocations: 4 kB / 1.108 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006781/1.303, allocations: 100.2 kB / 1.108 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004761/1.308, allocations: 1.909 MB / 1.11 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/1.308, allocations: 31.98 kB / 1.11 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00935/1.318, allocations: 6.312 MB / 1.116 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.318, allocations: 4 kB / 1.116 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008519/1.326, allocations: 3.306 MB / 1.119 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.5443/1.871, allocations: 419.5 kB / 1.119 GB, free: 272.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009651/1.871, allocations: 27.53 kB / 1.119 GB, free: 272.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002085/1.874, allocations: 113.9 kB / 1.12 GB, free: 272.3 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002871/1.874, allocations: 75.56 kB / 1.12 GB, free: 272.3 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/1.874, allocations: 42.84 kB / 1.12 GB, free: 272.3 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.005308/1.879, allocations: 2.719 MB / 1.122 GB, free: 271.7 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/1.879, allocations: 0 / 1.122 GB, free: 271.7 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003591/1.883, allocations: 0.7399 MB / 1.123 GB, free: 271.7 MB / 0.8887 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.001324/1.884, allocations: 497.2 kB / 1.123 GB, free: 271.6 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.006372/1.891, allocations: 2.663 MB / 1.126 GB, free: 270.5 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/1.891, allocations: 1.219 kB / 1.126 GB, free: 270.5 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.003063/1.894, allocations: 1.396 MB / 1.127 GB, free: 269.8 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004404/1.898, allocations: 0.8001 MB / 1.128 GB, free: 269.6 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/1.909, allocations: 4.771 MB / 1.133 GB, free: 267.5 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001924/1.911, allocations: 1.113 MB / 1.134 GB, free: 267.2 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001835/1.913, allocations: 337.7 kB / 1.134 GB, free: 267.2 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003742/1.913, allocations: 122.9 kB / 1.134 GB, free: 267.1 MB / 0.8887 GB Notification: Performance of SimCode: time 1.062e-06/1.913, allocations: 1.781 kB / 1.134 GB, free: 267.1 MB / 0.8887 GB Notification: Performance of Templates: time 0.08077/1.994, allocations: 48.17 MB / 1.181 GB, free: 244.1 MB / 0.8887 GB " [Timeout remaining time 658] make -j1 -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & ./IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.67442542873323] Failed to read output from testmodel.py, exit status != 0: 2.0034008231014013 2.0123872 0.8597899990000001 Calling exit ...