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.001829/0.001829, allocations: 85.48 kB / 19.44 MB, free: 344 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.002024/0.002024, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.554/1.554, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.353/1.353, allocations: 154.8 MB / 414.4 MB, free: 468 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.313e-06/1.313e-06, allocations: 0 / 0.5198 GB, free: 2.301 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.506e-05, allocations: 6.312 kB / 0.5199 GB, free: 2.297 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.6198/0.6199, allocations: 223.1 MB / 0.7377 GB, free: 46.68 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02166/0.6415, allocations: 12.9 MB / 0.7503 GB, free: 46.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004279/0.6458, allocations: 96.22 kB / 0.7504 GB, free: 46.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004176/0.65, allocations: 1.174 MB / 0.7515 GB, free: 46.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.6607, allocations: 3.377 MB / 0.7548 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005985/0.6666, allocations: 1.937 MB / 0.7567 GB, free: 45.61 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006797/0.6734, allocations: 4.288 MB / 0.7609 GB, free: 44.46 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002255/0.6757, allocations: 1.198 MB / 0.7621 GB, free: 43.75 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006963/0.6827, allocations: 2.776 MB / 0.7648 GB, free: 42.73 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002655/0.6853, allocations: 1.268 MB / 0.766 GB, free: 42.45 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.00036/0.6857, allocations: 178.6 kB / 0.7662 GB, free: 42.45 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005138/0.6908, allocations: 2.317 MB / 0.7684 GB, free: 41.92 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008096/0.6916, allocations: 1.033 MB / 0.7695 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.6929, allocations: 0.8821 MB / 0.7703 GB, free: 41.12 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007433/0.7004, allocations: 4.473 MB / 0.7747 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7004, allocations: 0 / 0.7747 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7004, allocations: 1.188 kB / 0.7747 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.666e-05/0.7004, allocations: 0 / 0.7747 GB, free: 39.87 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.005231/0.7057, allocations: 3.412 MB / 0.778 GB, free: 37.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.7057, allocations: 12.34 kB / 0.778 GB, free: 37.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003986/0.7097, allocations: 0.8215 MB / 0.7788 GB, free: 37.44 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003682/0.7134, allocations: 1.844 MB / 0.7806 GB, free: 36.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.7135, allocations: 142.4 kB / 0.7808 GB, free: 36.47 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.7137, allocations: 112.5 kB / 0.7809 GB, free: 36.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/0.7163, allocations: 1.637 MB / 0.7825 GB, free: 35.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.7163, allocations: 2.375 kB / 0.7825 GB, free: 35.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.7164, allocations: 52.56 kB / 0.7825 GB, free: 35.53 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.341e-05/0.7165, allocations: 43.08 kB / 0.7826 GB, free: 35.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002707/0.7192, allocations: 1.33 MB / 0.7839 GB, free: 35.08 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.00995/0.7291, allocations: 6.612 MB / 0.7903 GB, free: 31.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/0.7316, allocations: 0.9716 MB / 0.7913 GB, free: 30.83 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.7327, allocations: 0.5724 MB / 0.7918 GB, free: 30.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007331/0.7335, allocations: 156.6 kB / 0.792 GB, free: 30.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001269/0.7347, allocations: 0.8094 MB / 0.7928 GB, free: 30.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=91): time 2.985e-06/0.7347, allocations: 4 kB / 0.7928 GB, free: 30.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91): time 0.01888/0.7536, allocations: 3.786 MB / 0.7965 GB, free: 29.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.7537, allocations: 150.6 kB / 0.7966 GB, free: 28.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00434/0.758, allocations: 2.754 MB / 0.7993 GB, free: 27.92 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003053/0.7583, allocations: 44.27 kB / 0.7993 GB, free: 27.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009869/0.7593, allocations: 1.266 MB / 0.8006 GB, free: 26.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003842/0.7597, allocations: 330.7 kB / 0.8009 GB, free: 26.67 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004153/0.7601, allocations: 251.1 kB / 0.8011 GB, free: 26.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.7602, allocations: 0.5423 MB / 0.8017 GB, free: 26.04 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.7614, allocations: 0.5033 MB / 0.8022 GB, free: 25.85 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.7627, allocations: 1.033 MB / 0.8032 GB, free: 25.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/0.7649, allocations: 1.262 MB / 0.8044 GB, free: 24.37 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.7649, allocations: 3.625 kB / 0.8044 GB, free: 24.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005866/0.7708, allocations: 2.081 MB / 0.8064 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.936e-05/0.7708, allocations: 72.89 kB / 0.8065 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.7708, allocations: 5.125 kB / 0.8065 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003967/0.7748, allocations: 1.11 MB / 0.8076 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009326/0.7757, allocations: 168.2 kB / 0.8078 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006478/0.7822, allocations: 6.727 MB / 0.8143 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/0.7843, allocations: 149 kB / 0.8145 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002496/0.7846, allocations: 53.03 kB / 0.8145 GB, free: 17.32 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 (84): * Single equations (assignments): 77 * 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.001046/0.7856, allocations: 425.7 kB / 0.8149 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008981/0.7865, allocations: 267.9 kB / 0.8152 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006989/0.7935, allocations: 2.005 MB / 0.8171 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.7935, allocations: 13 kB / 0.8171 GB, free: 16.08 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.7935, allocations: 0 / 0.8171 GB, free: 16.08 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.7935, allocations: 5.812 kB / 0.8172 GB, free: 16.08 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/0.8047, allocations: 4.204 MB / 0.8213 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.8047, allocations: 5.969 kB / 0.8213 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006326/0.8053, allocations: 92.62 kB / 0.8214 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003999/0.8093, allocations: 1.103 MB / 0.8224 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001772/0.8095, allocations: 31.17 kB / 0.8225 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006781/0.8163, allocations: 6.684 MB / 0.829 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.8163, allocations: 2.531 kB / 0.829 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005927/0.8222, allocations: 2.232 MB / 0.8312 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/0.8238, allocations: 414 kB / 0.8316 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007573/0.8245, allocations: 27.98 kB / 0.8316 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001764/0.8263, allocations: 75.94 kB / 0.8317 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.8265, allocations: 79 kB / 0.8317 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/0.8266, allocations: 46.94 kB / 0.8318 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003049/0.8297, allocations: 1.643 MB / 0.8334 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8297, allocations: 0 / 0.8334 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002711/0.8324, allocations: 0.7448 MB / 0.8341 GB, free: 1.855 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 (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.001217/0.8336, allocations: 0.5123 MB / 0.8346 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004103/0.8377, allocations: 1.821 MB / 0.8364 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.8377, allocations: 0 / 0.8364 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002567/0.8403, allocations: 1.155 MB / 0.8375 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004956/0.8453, allocations: 0.8527 MB / 0.8384 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.8554, allocations: 4.082 MB / 0.8423 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001917/0.8573, allocations: 1.075 MB / 0.8434 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001444/0.8588, allocations: 293.7 kB / 0.8437 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005046/0.8593, allocations: 128.4 kB / 0.8438 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of SimCode: time 2.063e-06/0.8593, allocations: 0 / 0.8438 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of Templates: time 0.08626/0.9455, allocations: 44.4 MB / 0.8872 GB, free: 12.37 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.443350420100614]