Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 121.7 kB / 16.43 MB, free: 6.48 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.001119/0.001119, allocations: 183.9 kB / 17.34 MB, free: 5.754 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.315/1.315, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7989/0.7989, allocations: 135.1 MB / 426.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 70.69 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.139, allocations: 80.92 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.0275/0.1666, allocations: 28.56 MB / 0.6932 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.1773, allocations: 7.889 MB / 0.7009 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.1785, allocations: 39.81 kB / 0.7009 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.1797, allocations: 417.2 kB / 0.7013 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002909/0.1826, allocations: 1.057 MB / 0.7024 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002715/0.1854, allocations: 1.08 MB / 0.7034 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004964/0.1903, allocations: 4.914 MB / 0.7082 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002458/0.1928, allocations: 2.293 MB / 0.7105 GB, free: 7.367 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/0.196, allocations: 1.826 MB / 0.7122 GB, free: 5.543 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.1978, allocations: 1.467 MB / 0.7137 GB, free: 4.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003195/0.1981, allocations: 228 kB / 0.7139 GB, free: 3.848 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.2005, allocations: 1.307 MB / 0.7152 GB, free: 2.539 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004944/0.201, allocations: 0.5492 MB / 0.7157 GB, free: 1.988 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.2023, allocations: 1.159 MB / 0.7168 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004109/0.2064, allocations: 3.707 MB / 0.7205 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2064, allocations: 4 kB / 0.7205 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2064, allocations: 0 / 0.7205 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.803e-05/0.2065, allocations: 0 / 0.7205 GB, free: 13.1 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.004284/0.2107, allocations: 2.617 MB / 0.723 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.2108, allocations: 9.109 kB / 0.723 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007265/0.2115, allocations: 251.6 kB / 0.7233 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/0.2141, allocations: 1.812 MB / 0.725 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.226e-05/0.2142, allocations: 114.7 kB / 0.7251 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.2145, allocations: 152 kB / 0.7253 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/0.2171, allocations: 1.997 MB / 0.7272 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.705e-05/0.2172, allocations: 4 kB / 0.7272 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.2173, allocations: 63.98 kB / 0.7273 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.003e-05/0.2174, allocations: 39.98 kB / 0.7273 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/0.2198, allocations: 1.798 MB / 0.7291 GB, free: 4.07 MB / 0.5606 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.009584/0.2294, allocations: 7.604 MB / 0.7365 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.2311, allocations: 1.444 MB / 0.7379 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007941/0.2319, allocations: 0.6679 MB / 0.7386 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005572/0.2375, allocations: 3.863 MB / 0.7424 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.2375, allocations: 43.56 kB / 0.7424 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 3.987e-06/0.2376, allocations: 0 / 0.7424 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.002267/0.2398, allocations: 1.522 MB / 0.7439 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.2399, allocations: 64.41 kB / 0.7439 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/0.242, allocations: 1.649 MB / 0.7456 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.468e-05/0.2421, allocations: 45.7 kB / 0.7456 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005791/0.2427, allocations: 0.771 MB / 0.7464 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/0.2429, allocations: 333.2 kB / 0.7467 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003966/0.2433, allocations: 295.5 kB / 0.747 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.2435, allocations: 361.9 kB / 0.7473 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000988/0.2445, allocations: 0.6956 MB / 0.748 GB, free: 16 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3081/0.5526, allocations: 1.014 MB / 0.749 GB, free: 77.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002964/0.5556, allocations: 1.622 MB / 0.7506 GB, free: 77.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.303e-05/0.5556, allocations: 3.625 kB / 0.7506 GB, free: 77.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004078/0.5597, allocations: 1.962 MB / 0.7525 GB, free: 76.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.5598, allocations: 11.44 kB / 0.7525 GB, free: 76.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/0.5598, allocations: 8.594 kB / 0.7525 GB, free: 76.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.652e-05/0.5599, allocations: 16.06 kB / 0.7525 GB, free: 76.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.5613, allocations: 331.2 kB / 0.7528 GB, free: 76.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.292e-05/0.5613, allocations: 22.08 kB / 0.7528 GB, free: 76.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.5627, allocations: 205 kB / 0.753 GB, free: 76.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/0.5629, allocations: 64.77 kB / 0.7531 GB, free: 76.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002321/0.5652, allocations: 1.279 MB / 0.7544 GB, free: 76.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001425/0.5667, allocations: 1.017 MB / 0.7553 GB, free: 75.65 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002428/0.5691, allocations: 1.623 MB / 0.7569 GB, free: 74.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.449e-05/0.5691, allocations: 7.188 kB / 0.7569 GB, free: 74.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003786/0.5729, allocations: 1.953 MB / 0.7588 GB, free: 74.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.573, allocations: 9 kB / 0.7589 GB, free: 74.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/0.573, allocations: 9.125 kB / 0.7589 GB, free: 74.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.854e-05/0.573, allocations: 15.66 kB / 0.7589 GB, free: 74.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.5743, allocations: 331.8 kB / 0.7592 GB, free: 74.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.659e-05/0.5744, allocations: 20.55 kB / 0.7592 GB, free: 74.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.5756, allocations: 154.6 kB / 0.7594 GB, free: 74.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.5758, allocations: 62.62 kB / 0.7594 GB, free: 74.07 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000336/0.5761, allocations: 268 kB / 0.7597 GB, free: 73.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004436/0.5766, allocations: 162.1 kB / 0.7598 GB, free: 73.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.5786, allocations: 1.278 MB / 0.7611 GB, free: 73.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001392/0.58, allocations: 1.287 MB / 0.7623 GB, free: 72.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.5801, allocations: 4.938 kB / 0.7623 GB, free: 72.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006868/0.5807, allocations: 400.4 kB / 0.7627 GB, free: 72.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.581, allocations: 23.02 kB / 0.7627 GB, free: 72.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006882/0.5817, allocations: 45.98 kB / 0.7628 GB, free: 72.22 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.5818, allocations: 52.62 kB / 0.7628 GB, free: 72.21 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002058/0.5838, allocations: 1.246 MB / 0.7641 GB, free: 71.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002486/0.5863, allocations: 2.035 MB / 0.766 GB, free: 70.86 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006538/0.587, allocations: 0.5243 MB / 0.7666 GB, free: 70.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001594/0.5886, allocations: 1.167 MB / 0.7677 GB, free: 70.25 MB / 0.5762 GB Notification: Performance of Backend: time 4.71e-07/0.5886, allocations: 1.25 kB / 0.7677 GB, free: 70.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0044/0.593, allocations: 2.322 MB / 0.77 GB, free: 69.57 MB / 0.5762 GB Notification: Performance of SimCode: time 0.006536/0.5996, allocations: 4.411 MB / 0.7743 GB, free: 67.34 MB / 0.5762 GB Notification: Performance of Templates: time 0.051/0.6506, allocations: 42.41 MB / 0.8157 GB, free: 29.64 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)