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.001144/0.001144, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.004704/0.004704, allocations: 181 kB / 23.36 MB, free: 1.133 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.8 MB, free: 5.469 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.8295/0.8295, allocations: 154.9 MB / 415.1 MB, free: 236 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.412e-06/1.412e-06, allocations: 0 / 480.4 MB, free: 6.559 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.886e-05, allocations: 12.03 kB / 480.4 MB, free: 6.551 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.1565/0.1565, allocations: 160.4 MB / 0.6257 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01399/0.1705, allocations: 8.545 MB / 0.6341 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002678/0.1732, allocations: 99.19 kB / 0.6342 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.1753, allocations: 0.7765 MB / 0.6349 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005722/0.181, allocations: 2.413 MB / 0.6373 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003334/0.1843, allocations: 1.55 MB / 0.6388 GB, free: 8.578 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005739/0.1901, allocations: 4.199 MB / 0.6429 GB, free: 4.363 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002489/0.1925, allocations: 1.198 MB / 0.6441 GB, free: 3.117 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004433/0.197, allocations: 2.205 MB / 0.6462 GB, free: 0.9336 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001755/0.1987, allocations: 1.172 MB / 0.6474 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002783/0.199, allocations: 172 kB / 0.6475 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.2011, allocations: 1.286 MB / 0.6488 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0006992/0.2018, allocations: 1.024 MB / 0.6498 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0009925/0.2028, allocations: 0.8651 MB / 0.6506 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003869/0.2066, allocations: 2.737 MB / 0.6533 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2066, allocations: 4 kB / 0.6533 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2066, allocations: 0 / 0.6533 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.174e-05/0.2067, allocations: 0 / 0.6533 GB, free: 9.656 MB / 0.6198 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.003311/0.21, allocations: 2.901 MB / 0.6562 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.21, allocations: 16.03 kB / 0.6562 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.2118, allocations: 0.6942 MB / 0.6568 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/0.2138, allocations: 1.493 MB / 0.6583 GB, free: 4.426 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.2139, allocations: 141.5 kB / 0.6584 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.214, allocations: 112 kB / 0.6585 GB, free: 4.164 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.2154, allocations: 1.143 MB / 0.6597 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.2154, allocations: 3.938 kB / 0.6597 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.452e-05/0.2155, allocations: 48 kB / 0.6597 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.233e-05/0.2155, allocations: 38.08 kB / 0.6597 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006719/0.2162, allocations: 0.5245 MB / 0.6603 GB, free: 2.258 MB / 0.6198 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.004661/0.2208, allocations: 3.599 MB / 0.6638 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008144/0.2217, allocations: 0.5367 MB / 0.6643 GB, free: 14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/0.222, allocations: 304 kB / 0.6646 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002887/0.2223, allocations: 116.5 kB / 0.6647 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008484/0.2231, allocations: 0.537 MB / 0.6652 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=89): time 3.367e-06/0.2231, allocations: 4 kB / 0.6652 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=89): time 0.005297/0.2284, allocations: 2.193 MB / 0.6674 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.2285, allocations: 153 kB / 0.6675 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/0.2304, allocations: 2.005 MB / 0.6695 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.738e-05/0.2305, allocations: 49.7 kB / 0.6695 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/0.2309, allocations: 0.6279 MB / 0.6701 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.2311, allocations: 313.3 kB / 0.6704 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.2314, allocations: 202.4 kB / 0.6706 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.2315, allocations: 345.9 kB / 0.671 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.2318, allocations: 244.5 kB / 0.6712 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008131/0.2326, allocations: 0.6632 MB / 0.6718 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007319/0.2334, allocations: 0.7267 MB / 0.6725 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.2334, allocations: 4 kB / 0.6725 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001236/0.2346, allocations: 0.9234 MB / 0.6735 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.2346, allocations: 75.33 kB / 0.6735 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.2347, allocations: 4 kB / 0.6735 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.2357, allocations: 0.5548 MB / 0.6741 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/0.2362, allocations: 187.7 kB / 0.6742 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.2376, allocations: 2.09 MB / 0.6763 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008028/0.2384, allocations: 159.3 kB / 0.6764 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.572e-05/0.2384, allocations: 39.97 kB / 0.6765 GB, free: 0.8984 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.0004327/0.2389, allocations: 247.6 kB / 0.6767 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.2391, allocations: 159.8 kB / 0.6769 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3213/0.5604, allocations: 1.007 MB / 0.6778 GB, free: 56.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.5604, allocations: 10.05 kB / 0.6779 GB, free: 56.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5604, allocations: 0.7812 kB / 0.6779 GB, free: 56.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.5605, allocations: 4.547 kB / 0.6779 GB, free: 56.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004851/0.5653, allocations: 2.191 MB / 0.68 GB, free: 56.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.5653, allocations: 4.875 kB / 0.68 GB, free: 56.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004307/0.5657, allocations: 112.2 kB / 0.6801 GB, free: 56.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/0.5671, allocations: 0.6324 MB / 0.6807 GB, free: 56.08 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.999e-05/0.5672, allocations: 32.75 kB / 0.6808 GB, free: 56.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.5685, allocations: 2.085 MB / 0.6828 GB, free: 54.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.5685, allocations: 3.969 kB / 0.6828 GB, free: 54.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.5703, allocations: 1.111 MB / 0.6839 GB, free: 53.94 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005821/0.5709, allocations: 293.4 kB / 0.6842 GB, free: 53.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/0.5711, allocations: 27.44 kB / 0.6842 GB, free: 53.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/0.5716, allocations: 76.23 kB / 0.6843 GB, free: 53.94 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.5717, allocations: 68.92 kB / 0.6843 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.903e-05/0.5718, allocations: 34.06 kB / 0.6844 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009532/0.5728, allocations: 1.065 MB / 0.6854 GB, free: 53.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5728, allocations: 0.7188 kB / 0.6854 GB, free: 53.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001329/0.5741, allocations: 0.6784 MB / 0.6861 GB, free: 53.84 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.000679/0.5748, allocations: 372.7 kB / 0.6864 GB, free: 53.78 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.5761, allocations: 0.972 MB / 0.6874 GB, free: 53.38 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.089e-05/0.5761, allocations: 20.41 kB / 0.6874 GB, free: 53.38 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005901/0.5767, allocations: 0.6028 MB / 0.688 GB, free: 53.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.5787, allocations: 0.8298 MB / 0.6888 GB, free: 53 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005475/0.5842, allocations: 3.805 MB / 0.6925 GB, free: 51.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.5846, allocations: 499.4 kB / 0.693 GB, free: 51.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001067/0.5857, allocations: 281.7 kB / 0.6933 GB, free: 51.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/0.587, allocations: 0.6624 MB / 0.6939 GB, free: 51.09 MB / 0.6355 GB Notification: Performance of SimCode: time 2.034e-06/0.587, allocations: 0 / 0.6939 GB, free: 51.09 MB / 0.6355 GB Notification: Performance of Templates: time 0.05/0.637, allocations: 44.36 MB / 0.7372 GB, free: 39.96 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.422273421194404]