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.001364/0.001364, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001573/0.001573, allocations: 213.8 kB / 22.24 MB, free: 5.238 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 1.384/1.384, allocations: 203.8 MB / 0.5041 GB, free: 4.633 MB / 414.1 MB " [Timeout remaining time 178] 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.002318/0.002318, allocations: 59.91 kB / 0.7186 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5883/0.5906, allocations: 102 MB / 0.8183 GB, free: 28.86 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.2822/0.8728, allocations: 199.8 MB / 1.013 GB, free: 13.96 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02408/0.8968, allocations: 11.83 MB / 1.025 GB, free: 2.109 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004876/0.9017, allocations: 95.25 kB / 1.025 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00453/0.9063, allocations: 1.162 MB / 1.026 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01113/0.9174, allocations: 3.309 MB / 1.029 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.006032/0.9234, allocations: 1.878 MB / 1.031 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.007751/0.9312, allocations: 4.208 MB / 1.035 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002284/0.9334, allocations: 1.125 MB / 1.036 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006426/0.9399, allocations: 2.216 MB / 1.039 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003244/0.9431, allocations: 1.381 MB / 1.04 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003465/0.9435, allocations: 180 kB / 1.04 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0061/0.9496, allocations: 2.288 MB / 1.042 GB, free: 224 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.9507, allocations: 0.9815 MB / 1.043 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001708/0.9524, allocations: 1.061 MB / 1.044 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.9628, allocations: 4.387 MB / 1.049 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.9628, allocations: 4 kB / 1.049 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.675e-06/0.9628, allocations: 0 / 1.049 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001042/0.9629, allocations: 3.938 kB / 1.049 GB, free: 9.758 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.008022/0.971, allocations: 3.093 MB / 1.052 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.971, allocations: 13.47 kB / 1.052 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004948/0.976, allocations: 0.7944 MB / 1.052 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00546/0.9814, allocations: 2.479 MB / 1.055 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.9816, allocations: 141.5 kB / 1.055 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.9818, allocations: 112 kB / 1.055 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004332/0.9862, allocations: 2.249 MB / 1.057 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.9862, allocations: 0 / 1.057 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.9863, allocations: 44 kB / 1.057 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.357e-05/0.9864, allocations: 46.06 kB / 1.057 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005003/0.9914, allocations: 2.612 MB / 1.06 GB, free: 13.9 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.01343/1.005, allocations: 6.62 MB / 1.066 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004169/1.009, allocations: 1.995 MB / 1.068 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/1.011, allocations: 0.9611 MB / 1.069 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007332/1.012, allocations: 164.5 kB / 1.069 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002071/1.014, allocations: 1.179 MB / 1.071 GB, free: 2.789 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=91): time 3.256e-06/1.014, allocations: 4 kB / 1.071 GB, free: 2.785 MB / 0.8419 GB Notification: Performance of matching and sorting (n=91): time 0.02539/1.039, allocations: 5.732 MB / 1.076 GB, free: 13 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/1.039, allocations: 149.2 kB / 1.076 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006254/1.045, allocations: 3.706 MB / 1.08 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003303/1.046, allocations: 45.7 kB / 1.08 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001153/1.047, allocations: 1.03 MB / 1.081 GB, free: 8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004887/1.047, allocations: 309.4 kB / 1.081 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004632/1.048, allocations: 218.5 kB / 1.082 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0003058/1.048, allocations: 349.9 kB / 1.082 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00239/1.051, allocations: 1.157 MB / 1.083 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002765/1.053, allocations: 1.592 MB / 1.085 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004331/1.058, allocations: 2.19 MB / 1.087 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/1.058, allocations: 0 / 1.087 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01004/1.068, allocations: 3.719 MB / 1.09 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.845e-05/1.068, allocations: 71.39 kB / 1.09 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/1.068, allocations: 8.359 kB / 1.09 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005449/1.073, allocations: 1.916 MB / 1.092 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/1.074, allocations: 187.8 kB / 1.092 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/1.086, allocations: 6.386 MB / 1.099 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/1.089, allocations: 191.2 kB / 1.099 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004271/1.089, allocations: 51.98 kB / 1.099 GB, free: 5.102 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.00204/1.091, allocations: 0.6531 MB / 1.1 GB, free: 4.426 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/1.092, allocations: 230.5 kB / 1.1 GB, free: 4.199 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/1.103, allocations: 3.234 MB / 1.103 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.234e-05/1.103, allocations: 8 kB / 1.103 GB, free: 0.9141 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/1.103, allocations: 0 / 1.103 GB, free: 0.9141 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.571e-05/1.103, allocations: 3.984 kB / 1.103 GB, free: 0.9102 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01667/1.119, allocations: 5.18 MB / 1.108 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/1.119, allocations: 4 kB / 1.108 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007299/1.12, allocations: 100.2 kB / 1.108 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005136/1.125, allocations: 1.913 MB / 1.11 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002084/1.125, allocations: 27.98 kB / 1.11 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/1.136, allocations: 6.308 MB / 1.116 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.136, allocations: 4.031 kB / 1.116 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5242/1.661, allocations: 3.299 MB / 1.119 GB, free: 271.4 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002128/1.663, allocations: 422.2 kB / 1.12 GB, free: 271.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003992/1.663, allocations: 25.19 kB / 1.12 GB, free: 271.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/1.665, allocations: 111 kB / 1.12 GB, free: 271.4 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/1.665, allocations: 78.34 kB / 1.12 GB, free: 271.4 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/1.665, allocations: 44.27 kB / 1.12 GB, free: 271.4 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00437/1.67, allocations: 2.716 MB / 1.123 GB, free: 270.8 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/1.67, allocations: 1.188 kB / 1.123 GB, free: 270.8 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003364/1.673, allocations: 0.7418 MB / 1.123 GB, free: 270.8 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.001188/1.674, allocations: 499.5 kB / 1.124 GB, free: 270.7 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.005819/1.68, allocations: 2.669 MB / 1.127 GB, free: 269.6 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.68, allocations: 0 / 1.127 GB, free: 269.6 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002678/1.683, allocations: 1.4 MB / 1.128 GB, free: 268.9 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003903/1.686, allocations: 0.7912 MB / 1.129 GB, free: 268.7 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009014/1.696, allocations: 4.788 MB / 1.133 GB, free: 266.6 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/1.697, allocations: 1.109 MB / 1.134 GB, free: 266.3 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001702/1.699, allocations: 335.7 kB / 1.135 GB, free: 266.3 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003535/1.699, allocations: 124.8 kB / 1.135 GB, free: 266.3 MB / 0.8887 GB Notification: Performance of SimCode: time 9.72e-07/1.699, allocations: 0.875 kB / 1.135 GB, free: 266.3 MB / 0.8887 GB Notification: Performance of Templates: time 0.0806/1.78, allocations: 48.16 MB / 1.182 GB, free: 243.1 MB / 0.8887 GB " [Timeout remaining time 658] 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: 9.545659579336643] Failed to read output from testmodel.py, exit status != 0: 1.7899629268795252 1.8006039200000001 0.835087837 Calling exit ...