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.001119/0.001119, allocations: 116.2 kB / 16.42 MB, free: 6.496 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.001158/0.001158, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.198/1.198, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7205/0.7205, allocations: 135.1 MB / 426.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 67.2 kB / 0.5863 GB, free: 21.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1215, allocations: 80.93 MB / 0.6653 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02518/0.1467, allocations: 28.56 MB / 0.6932 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009395/0.1562, allocations: 7.884 MB / 0.7009 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008105/0.157, allocations: 35.75 kB / 0.7009 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009196/0.1579, allocations: 421.2 kB / 0.7013 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.1601, allocations: 1.053 MB / 0.7024 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.1623, allocations: 1.08 MB / 0.7034 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004392/0.1667, allocations: 4.914 MB / 0.7082 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002518/0.1693, allocations: 2.293 MB / 0.7105 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003087/0.1724, allocations: 1.823 MB / 0.7122 GB, free: 5.723 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002045/0.1744, allocations: 1.471 MB / 0.7137 GB, free: 4.246 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005011/0.1749, allocations: 232 kB / 0.7139 GB, free: 4.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002423/0.1774, allocations: 1.318 MB / 0.7152 GB, free: 2.699 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006223/0.178, allocations: 0.5414 MB / 0.7157 GB, free: 2.156 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.1795, allocations: 1.163 MB / 0.7168 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003695/0.1832, allocations: 3.693 MB / 0.7204 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1833, allocations: 0 / 0.7204 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1833, allocations: 0 / 0.7204 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.359e-05/0.1833, allocations: 0 / 0.7204 GB, free: 13.29 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.004505/0.1878, allocations: 2.554 MB / 0.7229 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1879, allocations: 9.109 kB / 0.7229 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007034/0.1886, allocations: 230.4 kB / 0.7232 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/0.1913, allocations: 1.819 MB / 0.7249 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.73e-05/0.1914, allocations: 114.7 kB / 0.7251 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.1916, allocations: 148 kB / 0.7252 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/0.1943, allocations: 1.994 MB / 0.7271 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.1944, allocations: 3.938 kB / 0.7271 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.1945, allocations: 60 kB / 0.7272 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.953e-05/0.1945, allocations: 43.98 kB / 0.7272 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/0.1969, allocations: 1.798 MB / 0.729 GB, free: 4.34 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.009476/0.2064, allocations: 7.586 MB / 0.7364 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.2081, allocations: 1.448 MB / 0.7378 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007861/0.2089, allocations: 0.664 MB / 0.7385 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005366/0.2142, allocations: 3.855 MB / 0.7422 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.2143, allocations: 51.56 kB / 0.7423 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.194e-06/0.2143, allocations: 7.938 kB / 0.7423 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.002135/0.2164, allocations: 1.506 MB / 0.7438 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.2165, allocations: 60.41 kB / 0.7438 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/0.2183, allocations: 1.649 MB / 0.7454 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.161e-05/0.2184, allocations: 49.7 kB / 0.7455 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005424/0.2189, allocations: 0.7536 MB / 0.7462 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/0.2192, allocations: 315.5 kB / 0.7465 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003599/0.2196, allocations: 295.4 kB / 0.7468 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2197, allocations: 369.8 kB / 0.7471 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009019/0.2206, allocations: 0.6917 MB / 0.7478 GB, free: 344 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2551/0.4758, allocations: 1.01 MB / 0.7488 GB, free: 77.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/0.4777, allocations: 1.624 MB / 0.7504 GB, free: 77.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.4777, allocations: 2.469 kB / 0.7504 GB, free: 77.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00268/0.4804, allocations: 1.948 MB / 0.7523 GB, free: 76.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4804, allocations: 13.78 kB / 0.7523 GB, free: 76.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.4804, allocations: 13.11 kB / 0.7523 GB, free: 76.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.4805, allocations: 15.69 kB / 0.7523 GB, free: 76.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.4816, allocations: 335.8 kB / 0.7527 GB, free: 76.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.468e-05/0.4817, allocations: 21.34 kB / 0.7527 GB, free: 76.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009937/0.4827, allocations: 201.3 kB / 0.7529 GB, free: 76.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-05/0.4828, allocations: 58 kB / 0.7529 GB, free: 76.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001597/0.4844, allocations: 1.285 MB / 0.7542 GB, free: 76.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001081/0.4855, allocations: 1.016 MB / 0.7552 GB, free: 75.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001844/0.4873, allocations: 1.623 MB / 0.7568 GB, free: 74.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.993e-06/0.4873, allocations: 2.75 kB / 0.7568 GB, free: 74.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.002814/0.4901, allocations: 1.944 MB / 0.7587 GB, free: 74.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.4902, allocations: 8.75 kB / 0.7587 GB, free: 74.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.4902, allocations: 10.11 kB / 0.7587 GB, free: 74.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.4902, allocations: 15.44 kB / 0.7587 GB, free: 74.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.4914, allocations: 334.4 kB / 0.759 GB, free: 74.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.4914, allocations: 25.47 kB / 0.759 GB, free: 74.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009342/0.4923, allocations: 153 kB / 0.7592 GB, free: 74.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.584e-05/0.4925, allocations: 62.17 kB / 0.7592 GB, free: 74.16 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.0002272/0.4927, allocations: 261.3 kB / 0.7595 GB, free: 73.92 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/0.4929, allocations: 151 kB / 0.7596 GB, free: 73.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.4947, allocations: 1.284 MB / 0.7609 GB, free: 73.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001225/0.4959, allocations: 1.284 MB / 0.7621 GB, free: 72.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.496, allocations: 1.062 kB / 0.7621 GB, free: 72.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005683/0.4965, allocations: 394.9 kB / 0.7625 GB, free: 72.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.4967, allocations: 22.58 kB / 0.7625 GB, free: 72.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006565/0.4974, allocations: 51.27 kB / 0.7626 GB, free: 72.31 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/0.4975, allocations: 48.16 kB / 0.7626 GB, free: 72.3 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001856/0.4993, allocations: 1.252 MB / 0.7639 GB, free: 71.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002144/0.5015, allocations: 2.027 MB / 0.7658 GB, free: 70.95 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005713/0.5021, allocations: 0.5255 MB / 0.7664 GB, free: 70.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001336/0.5034, allocations: 1.166 MB / 0.7675 GB, free: 70.34 MB / 0.5762 GB Notification: Performance of Backend: time 4.71e-07/0.5034, allocations: 1.062 kB / 0.7675 GB, free: 70.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003629/0.5071, allocations: 2.302 MB / 0.7697 GB, free: 69.66 MB / 0.5762 GB Notification: Performance of SimCode: time 0.005436/0.5125, allocations: 4.383 MB / 0.774 GB, free: 67.48 MB / 0.5762 GB Notification: Performance of Templates: time 0.04212/0.5546, allocations: 42.41 MB / 0.8154 GB, free: 30.1 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)