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.001433/0.001433, allocations: 92.7 kB / 19.44 MB, free: 328 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.001684/0.001684, allocations: 165.3 kB / 22.76 MB, free: 1.656 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.477/1.477, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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-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 1.275/1.275, allocations: 154.8 MB / 414.3 MB, free: 476 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 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: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.5198 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.367e-05, allocations: 5.156 kB / 0.5198 GB, free: 2.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.5817/0.5818, allocations: 199.4 MB / 0.7146 GB, free: 45.52 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0172/0.599, allocations: 11.86 MB / 0.7262 GB, free: 45.31 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003045/0.602, allocations: 93.47 kB / 0.7262 GB, free: 45.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003048/0.605, allocations: 1.175 MB / 0.7274 GB, free: 45.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008875/0.6139, allocations: 3.378 MB / 0.7307 GB, free: 44.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005186/0.6191, allocations: 1.942 MB / 0.7326 GB, free: 44.77 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007673/0.6268, allocations: 4.283 MB / 0.7368 GB, free: 43.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002352/0.6291, allocations: 1.169 MB / 0.7379 GB, free: 43.75 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007829/0.637, allocations: 2.769 MB / 0.7406 GB, free: 43.45 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003041/0.64, allocations: 1.263 MB / 0.7419 GB, free: 43.3 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004685/0.6405, allocations: 179.5 kB / 0.742 GB, free: 43.3 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005697/0.6462, allocations: 2.311 MB / 0.7443 GB, free: 43.11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001293/0.6475, allocations: 1.025 MB / 0.7453 GB, free: 42.97 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001803/0.6493, allocations: 0.8801 MB / 0.7461 GB, free: 42.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008668/0.6579, allocations: 4.471 MB / 0.7505 GB, free: 42.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.6579, allocations: 0 / 0.7505 GB, free: 42.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6579, allocations: 3.75 kB / 0.7505 GB, free: 42.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000138/0.6581, allocations: 3.938 kB / 0.7505 GB, free: 42.43 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.005971/0.6641, allocations: 3.064 MB / 0.7535 GB, free: 40.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.6641, allocations: 8.875 kB / 0.7535 GB, free: 40.62 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004543/0.6686, allocations: 0.9369 MB / 0.7544 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003882/0.6725, allocations: 2.546 MB / 0.7569 GB, free: 39.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.6726, allocations: 146.9 kB / 0.7571 GB, free: 39.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.6728, allocations: 115.7 kB / 0.7572 GB, free: 39.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003288/0.6761, allocations: 2.24 MB / 0.7594 GB, free: 38.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.6761, allocations: 3.531 kB / 0.7594 GB, free: 38.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.6763, allocations: 45.73 kB / 0.7594 GB, free: 38.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/0.6763, allocations: 43.7 kB / 0.7594 GB, free: 38.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00391/0.6802, allocations: 2.615 MB / 0.762 GB, free: 37.19 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.009664/0.6899, allocations: 6.666 MB / 0.7685 GB, free: 33.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003346/0.6932, allocations: 2.008 MB / 0.7705 GB, free: 33.29 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.6947, allocations: 0.9506 MB / 0.7714 GB, free: 32.95 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006617/0.6954, allocations: 167 kB / 0.7716 GB, free: 32.92 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001665/0.6971, allocations: 1.184 MB / 0.7727 GB, free: 32.35 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=91): time 3.316e-06/0.6971, allocations: 0 / 0.7727 GB, free: 32.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91): time 0.02217/0.7192, allocations: 5.768 MB / 0.7783 GB, free: 30.85 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.7193, allocations: 150.2 kB / 0.7785 GB, free: 30.69 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004474/0.7238, allocations: 3.71 MB / 0.7821 GB, free: 29.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002292/0.724, allocations: 46.14 kB / 0.7822 GB, free: 29.33 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006794/0.7247, allocations: 1.034 MB / 0.7832 GB, free: 28.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/0.725, allocations: 301.2 kB / 0.7835 GB, free: 28.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003786/0.7254, allocations: 218.9 kB / 0.7837 GB, free: 28.19 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.651e-05/0.7254, allocations: 350.4 kB / 0.784 GB, free: 27.87 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/0.7272, allocations: 1.149 MB / 0.7851 GB, free: 27.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001909/0.7291, allocations: 1.6 MB / 0.7867 GB, free: 26.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003225/0.7323, allocations: 2.184 MB / 0.7888 GB, free: 25.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.7323, allocations: 1.844 kB / 0.7888 GB, free: 25.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00799/0.7403, allocations: 3.764 MB / 0.7925 GB, free: 24.35 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.687e-05/0.7404, allocations: 69.64 kB / 0.7926 GB, free: 24.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.7404, allocations: 4.781 kB / 0.7926 GB, free: 24.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005387/0.7458, allocations: 2.081 MB / 0.7946 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.7468, allocations: 183.8 kB / 0.7948 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007254/0.7541, allocations: 6.383 MB / 0.801 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.7563, allocations: 195.9 kB / 0.8012 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.7564, allocations: 49.25 kB / 0.8012 GB, free: 19.11 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 (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.0009678/0.7574, allocations: 0.6514 MB / 0.8019 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005005/0.7579, allocations: 272.9 kB / 0.8021 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007027/0.7649, allocations: 3.232 MB / 0.8053 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.7649, allocations: 11.98 kB / 0.8053 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7649, allocations: 4 kB / 0.8053 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.7649, allocations: 4.125 kB / 0.8053 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/0.7755, allocations: 5.181 MB / 0.8104 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.7755, allocations: 4 kB / 0.8104 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006243/0.7761, allocations: 102.6 kB / 0.8105 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004859/0.781, allocations: 2.068 MB / 0.8125 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001372/0.7811, allocations: 31.98 kB / 0.8125 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006729/0.7879, allocations: 6.317 MB / 0.8187 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.7879, allocations: 7.094 kB / 0.8187 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00785/0.7957, allocations: 3.328 MB / 0.8219 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/0.7971, allocations: 433.9 kB / 0.8224 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003413/0.7974, allocations: 24 kB / 0.8224 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/0.799, allocations: 115.9 kB / 0.8225 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/0.7992, allocations: 79.56 kB / 0.8226 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.7993, allocations: 39.97 kB / 0.8226 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.004291/0.8036, allocations: 2.721 MB / 0.8253 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8036, allocations: 4 kB / 0.8253 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002297/0.8059, allocations: 0.737 MB / 0.826 GB, free: 10.56 MB / 0.6511 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.001114/0.807, allocations: 0.5138 MB / 0.8265 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005894/0.8129, allocations: 2.668 MB / 0.8291 GB, free: 7.359 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.8129, allocations: 448 / 0.8291 GB, free: 7.359 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00293/0.8158, allocations: 1.393 MB / 0.8305 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00418/0.82, allocations: 0.8539 MB / 0.8313 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.8301, allocations: 4.776 MB / 0.836 GB, free: 240 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001555/0.8316, allocations: 1.114 MB / 0.837 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001392/0.833, allocations: 334.5 kB / 0.8374 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003885/0.8334, allocations: 124.5 kB / 0.8375 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of SimCode: time 1.754e-06/0.8334, allocations: 0 / 0.8375 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of Templates: time 0.08315/0.9166, allocations: 44.47 MB / 0.8809 GB, free: 3.195 MB / 0.698 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: 8.308370467973873]