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.0007275/0.0007275, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0007067/0.0007067, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8252/0.8252, allocations: 177.1 MB / 203.5 MB, free: 5.723 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-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 0.684/0.684, allocations: 154.6 MB / 414.5 MB, free: 0.832 MB / 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.423e-06/1.423e-06, allocations: 0 / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.344e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.4325/0.4325, allocations: 199.4 MB / 0.814 GB, free: 5.699 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01518/0.4477, allocations: 11.84 MB / 0.8256 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002729/0.4505, allocations: 96.53 kB / 0.8257 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003099/0.4536, allocations: 1.183 MB / 0.8268 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007747/0.4613, allocations: 3.371 MB / 0.8301 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003975/0.4653, allocations: 1.962 MB / 0.832 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00491/0.4702, allocations: 4.27 MB / 0.8362 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/0.4719, allocations: 1.131 MB / 0.8373 GB, free: 4 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00492/0.4768, allocations: 2.764 MB / 0.84 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.4786, allocations: 1.246 MB / 0.8412 GB, free: 184 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000361/0.479, allocations: 180 kB / 0.8414 GB, free: 4 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003718/0.4827, allocations: 2.318 MB / 0.8436 GB, free: 13.68 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007144/0.4834, allocations: 1.02 MB / 0.8446 GB, free: 12.66 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.4846, allocations: 0.8845 MB / 0.8455 GB, free: 11.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006036/0.4906, allocations: 4.463 MB / 0.8499 GB, free: 7.293 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4907, allocations: 0 / 0.8499 GB, free: 7.293 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4907, allocations: 0 / 0.8499 GB, free: 7.293 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.833e-05/0.4907, allocations: 4 kB / 0.8499 GB, free: 7.289 MB / 0.698 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.004343/0.4951, allocations: 3.058 MB / 0.8529 GB, free: 4.168 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.4951, allocations: 9.469 kB / 0.8529 GB, free: 4.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/0.4973, allocations: 0.8033 MB / 0.8537 GB, free: 3.355 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002853/0.5002, allocations: 2.479 MB / 0.8561 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.5003, allocations: 145.5 kB / 0.8562 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.5004, allocations: 108 kB / 0.8563 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/0.5027, allocations: 2.245 MB / 0.8585 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.5027, allocations: 3.938 kB / 0.8585 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.23e-05/0.5028, allocations: 44 kB / 0.8586 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.529e-05/0.5028, allocations: 38.08 kB / 0.8586 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002743/0.5056, allocations: 2.619 MB / 0.8611 GB, free: 11.46 MB / 0.7136 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.007287/0.5128, allocations: 6.626 MB / 0.8676 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/0.5151, allocations: 2 MB / 0.8696 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.5161, allocations: 0.9516 MB / 0.8705 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003736/0.5164, allocations: 172.5 kB / 0.8707 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/0.5176, allocations: 1.176 MB / 0.8718 GB, free: 356 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=91): time 3.186e-06/0.5176, allocations: 0 / 0.8718 GB, free: 356 kB / 0.7136 GB Notification: Performance of matching and sorting (n=91): time 0.01126/0.5289, allocations: 5.74 MB / 0.8774 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/0.5289, allocations: 145.2 kB / 0.8776 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003816/0.5327, allocations: 3.71 MB / 0.8812 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/0.5329, allocations: 45.7 kB / 0.8812 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000697/0.5336, allocations: 1.026 MB / 0.8822 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/0.5339, allocations: 309.4 kB / 0.8825 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.5342, allocations: 214.5 kB / 0.8827 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.5343, allocations: 349.9 kB / 0.8831 GB, free: 4.688 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.5354, allocations: 1.151 MB / 0.8842 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.5368, allocations: 1.592 MB / 0.8857 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.539, allocations: 2.186 MB / 0.8879 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.539, allocations: 3.938 kB / 0.8879 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004763/0.5438, allocations: 3.727 MB / 0.8915 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.024e-05/0.5438, allocations: 75.33 kB / 0.8916 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.5438, allocations: 7.938 kB / 0.8916 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002661/0.5465, allocations: 1.929 MB / 0.8935 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.547, allocations: 179.7 kB / 0.8936 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005332/0.5523, allocations: 6.352 MB / 0.8999 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.5536, allocations: 195.3 kB / 0.9 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-05/0.5537, allocations: 51.97 kB / 0.9001 GB, free: 2.695 MB / 0.7448 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.0008932/0.5546, allocations: 0.649 MB / 0.9007 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/0.555, allocations: 238.4 kB / 0.9009 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004205/0.5592, allocations: 3.234 MB / 0.9041 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.5592, allocations: 15.94 kB / 0.9041 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5592, allocations: 0 / 0.9041 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.5592, allocations: 3.984 kB / 0.9041 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006666/0.5659, allocations: 5.176 MB / 0.9092 GB, free: 9.215 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.5659, allocations: 4 kB / 0.9092 GB, free: 9.211 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.5662, allocations: 96.22 kB / 0.9093 GB, free: 9.117 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002494/0.5687, allocations: 1.913 MB / 0.9111 GB, free: 7.191 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.5688, allocations: 27.98 kB / 0.9112 GB, free: 7.164 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004954/0.5737, allocations: 6.309 MB / 0.9173 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5737, allocations: 8.094 kB / 0.9173 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004301/0.578, allocations: 3.298 MB / 0.9206 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008359/0.5789, allocations: 422 kB / 0.921 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/0.5791, allocations: 24 kB / 0.921 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007036/0.5798, allocations: 115.9 kB / 0.9211 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.5799, allocations: 69.03 kB / 0.9212 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.498e-05/0.58, allocations: 47.91 kB / 0.9212 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002275/0.5822, allocations: 2.725 MB / 0.9239 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5822, allocations: 0 / 0.9239 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001452/0.5837, allocations: 0.737 MB / 0.9246 GB, free: 9.059 MB / 0.7761 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.000731/0.5844, allocations: 0.513 MB / 0.9251 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003017/0.5874, allocations: 2.669 MB / 0.9277 GB, free: 5.797 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.5875, allocations: 64 / 0.9277 GB, free: 5.797 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.5889, allocations: 1.394 MB / 0.9291 GB, free: 4.344 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.591, allocations: 0.8119 MB / 0.9299 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005374/0.5964, allocations: 4.567 MB / 0.9343 GB, free: 14.9 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007249/0.5971, allocations: 1.025 MB / 0.9353 GB, free: 13.84 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003043/0.5975, allocations: 132.5 kB / 0.9354 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of SimCode: time 9.31e-07/0.5975, allocations: 0 / 0.9354 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of Templates: time 0.2931/0.8905, allocations: 70 MB / 1.004 GB, free: 295.8 MB / 0.8386 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: 10.633017195388675] Failed to read output from testmodel.py, exit status != 0: 0.896706061437726 0.904236269 0.411749738 Calling exit ...