Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics") translateModel(IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 109.1 kB / 16.41 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.777/0.777, allocations: 132.2 MB / 423.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 67.59 kB / 0.582 GB, free: 23.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1315, allocations: 80.21 MB / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.423/0.5545, allocations: 112 MB / 0.7697 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03633/0.5908, allocations: 32 MB / 0.801 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005512/0.5964, allocations: 157.7 kB / 0.8011 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005057/0.6015, allocations: 1.846 MB / 0.803 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01455/0.6161, allocations: 4.835 MB / 0.8077 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00939/0.6255, allocations: 3.598 MB / 0.8112 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.04802/0.6735, allocations: 47.75 MB / 0.8578 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03472/0.7083, allocations: 23.84 MB / 0.8811 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03014/0.7384, allocations: 16.42 MB / 0.8971 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02387/0.7623, allocations: 14.06 MB / 0.9109 GB, free: 4.578 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.007637/0.77, allocations: 2.434 MB / 0.9132 GB, free: 2.145 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01649/0.7865, allocations: 4.74 MB / 0.9179 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.009573/0.7962, allocations: 5.499 MB / 0.9232 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.02299/0.8192, allocations: 11.1 MB / 0.9341 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.04094/0.8601, allocations: 34.62 MB / 0.9679 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.8602, allocations: 3.984 kB / 0.9679 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8602, allocations: 0 / 0.9679 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.001056/0.8612, allocations: 0 / 0.9679 GB, free: 11.11 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3345 * Number of variables: 3345 Notification: Performance of Generate backend data structure: time 0.05475/0.916, allocations: 19.84 MB / 0.9873 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.9161, allocations: 8.031 kB / 0.9873 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.9268, allocations: 1.971 MB / 0.9892 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03445/0.9613, allocations: 16.35 MB / 1.005 GB, free: 4.684 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009051/0.9622, allocations: 1.002 MB / 1.006 GB, free: 3.68 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00463/0.9669, allocations: 1.332 MB / 1.007 GB, free: 2.348 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04604/1.013, allocations: 20.25 MB / 1.027 GB, free: 13.53 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005222/1.013, allocations: 43.66 kB / 1.027 GB, free: 13.49 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003541/1.017, allocations: 0.543 MB / 1.028 GB, free: 12.95 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003672/1.017, allocations: 387.8 kB / 1.028 GB, free: 12.57 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03468/1.052, allocations: 18.14 MB / 1.046 GB, free: 10.39 MB / 0.8106 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.6982/1.75, allocations: 86.44 MB / 1.13 GB, free: 219.5 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01761/1.768, allocations: 12.97 MB / 1.143 GB, free: 212.3 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009764/1.778, allocations: 7.402 MB / 1.15 GB, free: 208.4 MB / 0.8107 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 evalFunc (simulation): time 0.04966/1.828, allocations: 26.93 MB / 1.176 GB, free: 180.8 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009855/1.837, allocations: 6.061 MB / 1.182 GB, free: 174.7 MB / 0.8107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00539/1.843, allocations: 0.8194 MB / 1.183 GB, free: 173.9 MB / 0.8107 GB Notification: Performance of pre-optimization done (n=772): time 1.827e-05/1.843, allocations: 0 / 1.183 GB, free: 173.9 MB / 0.8107 GB Notification: Performance of matching and sorting (n=772): time 0.0976/1.94, allocations: 32.37 MB / 1.215 GB, free: 141.4 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/1.941, allocations: 155.1 kB / 1.215 GB, free: 141.3 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02007/1.961, allocations: 12.83 MB / 1.227 GB, free: 128.5 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.002135/1.963, allocations: 205.7 kB / 1.228 GB, free: 128.2 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.006428/1.969, allocations: 7.028 MB / 1.235 GB, free: 121.2 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.002953/1.972, allocations: 2.696 MB / 1.237 GB, free: 118.5 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003235/1.975, allocations: 2.321 MB / 1.239 GB, free: 116.2 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 3.493e-05/1.975, allocations: 305.1 kB / 1.24 GB, free: 115.9 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007375/1.983, allocations: 6.326 MB / 1.246 GB, free: 109.6 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008586/1.991, allocations: 9.598 MB / 1.255 GB, free: 98.58 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01661/2.008, allocations: 15.95 MB / 1.271 GB, free: 81.16 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-05/2.008, allocations: 28 kB / 1.271 GB, free: 81.14 MB / 0.8107 GB Notification: Performance of matching and sorting (n=1474) (initialization): time 0.02594/2.034, allocations: 18.88 MB / 1.289 GB, free: 62.14 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 7.265e-05/2.034, allocations: 73.7 kB / 1.289 GB, free: 62.06 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.26e-05/2.034, allocations: 107.9 kB / 1.289 GB, free: 61.95 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06048/2.095, allocations: 9.115 MB / 1.298 GB, free: 52.82 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009619/2.104, allocations: 2.453 MB / 1.301 GB, free: 50.36 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0099/2.114, allocations: 10.83 MB / 1.311 GB, free: 39.24 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01103/2.125, allocations: 0.7215 MB / 1.312 GB, free: 38.52 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001955/2.127, allocations: 0.5155 MB / 1.313 GB, free: 38 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01652/2.144, allocations: 11.73 MB / 1.324 GB, free: 26.26 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01025/2.154, allocations: 9.59 MB / 1.333 GB, free: 15.29 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02025/2.174, allocations: 15.94 MB / 1.349 GB, free: 13.87 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001284/2.175, allocations: 28 kB / 1.349 GB, free: 13.84 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1474) (initialization_lambda0): time 0.6259/2.801, allocations: 18.86 MB / 1.367 GB, free: 270.9 MB / 0.8264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/2.801, allocations: 80.48 kB / 1.367 GB, free: 270.8 MB / 0.8264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001548/2.801, allocations: 98.44 kB / 1.368 GB, free: 270.8 MB / 0.8264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06487/2.866, allocations: 9.117 MB / 1.376 GB, free: 270.8 MB / 0.8264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01043/2.876, allocations: 2.457 MB / 1.379 GB, free: 270.8 MB / 0.8264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/2.887, allocations: 10.82 MB / 1.389 GB, free: 265.6 MB / 0.8264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01115/2.899, allocations: 0.7119 MB / 1.39 GB, free: 265.4 MB / 0.8264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002104/2.901, allocations: 0.5198 MB / 1.391 GB, free: 265.3 MB / 0.8264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 5 (mHex_flow_in.count,$PRE.mHex_flow_in.count,mHex_flow_in.T_start,$PRE.mHex_flow_in.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1286): * Single equations (assignments): 1282 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,144)} Notification: Performance of prepare postOptimizeDAE: time 0.002544/2.903, allocations: 0.8582 MB / 1.391 GB, free: 264.9 MB / 0.8264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003629/2.907, allocations: 1.169 MB / 1.393 GB, free: 264.8 MB / 0.8264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02209/2.929, allocations: 13.37 MB / 1.406 GB, free: 259.7 MB / 0.8264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01467/2.944, allocations: 11.04 MB / 1.416 GB, free: 254.2 MB / 0.8264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/2.944, allocations: 3.75 kB / 1.416 GB, free: 254.2 MB / 0.8264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007098/2.951, allocations: 2.774 MB / 1.419 GB, free: 252.4 MB / 0.8264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003062/2.954, allocations: 162.7 kB / 1.419 GB, free: 252.2 MB / 0.8264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008154/2.962, allocations: 462.9 kB / 1.42 GB, free: 252 MB / 0.8264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001077/2.963, allocations: 457.9 kB / 1.42 GB, free: 251.7 MB / 0.8264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02456/2.988, allocations: 14.33 MB / 1.434 GB, free: 239.4 MB / 0.8264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02483/3.013, allocations: 18.92 MB / 1.453 GB, free: 220.4 MB / 0.8264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005934/3.019, allocations: 5.51 MB / 1.458 GB, free: 214.8 MB / 0.8264 GB Notification: Performance of sorting global known variables: time 0.01343/3.032, allocations: 8.911 MB / 1.467 GB, free: 206 MB / 0.8264 GB Notification: Performance of Backend: time 5.91e-07/3.032, allocations: 0 / 1.467 GB, free: 206 MB / 0.8264 GB Notification: Performance of simCode: created initialization part: time 0.03526/3.067, allocations: 19.77 MB / 1.486 GB, free: 186.3 MB / 0.8264 GB Notification: Performance of SimCode: time 0.06276/3.13, allocations: 36.05 MB / 1.521 GB, free: 150.5 MB / 0.8264 GB Notification: Performance of Templates: time 0.7086/3.839, allocations: 333.1 MB / 1.847 GB, free: 144.3 MB / 0.842 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics.sim & ./IDEAS_IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.HeatExchangerDynamics.pipe 2>&1)