Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001137/0.001137, allocations: 113.9 kB / 16.42 MB, free: 6.457 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.001159/0.00116, 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7568/0.7568, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 58.66 kB / 0.582 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.121, allocations: 80.2 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02653/0.1476, allocations: 28.57 MB / 0.6882 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.1577, allocations: 7.888 MB / 0.6959 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008089/0.1585, allocations: 39.75 kB / 0.696 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009751/0.1596, allocations: 421.2 kB / 0.6964 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.1617, allocations: 1.053 MB / 0.6974 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.1641, allocations: 1.087 MB / 0.6985 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004412/0.1685, allocations: 4.916 MB / 0.7033 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002363/0.1709, allocations: 2.285 MB / 0.7055 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00306/0.1739, allocations: 1.837 MB / 0.7073 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001739/0.1757, allocations: 1.459 MB / 0.7087 GB, free: 8.559 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003454/0.176, allocations: 228 kB / 0.7089 GB, free: 8.336 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.1785, allocations: 1.315 MB / 0.7102 GB, free: 7.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005175/0.179, allocations: 0.5491 MB / 0.7107 GB, free: 6.469 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001268/0.1803, allocations: 1.159 MB / 0.7119 GB, free: 5.305 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004115/0.1844, allocations: 3.693 MB / 0.7155 GB, free: 1.602 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1845, allocations: 0 / 0.7155 GB, free: 1.602 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.684e-06/0.1845, allocations: 0 / 0.7155 GB, free: 1.602 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.678e-05/0.1845, allocations: 0 / 0.7155 GB, free: 1.602 MB / 0.545 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.004531/0.1891, allocations: 2.561 MB / 0.718 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1891, allocations: 8.031 kB / 0.718 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007707/0.1899, allocations: 238.5 kB / 0.7182 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002991/0.1929, allocations: 1.807 MB / 0.72 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.087e-05/0.193, allocations: 114.7 kB / 0.7201 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/0.1932, allocations: 148 kB / 0.7202 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002953/0.1962, allocations: 1.997 MB / 0.7222 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/0.1962, allocations: 4 kB / 0.7222 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.1964, allocations: 59.98 kB / 0.7222 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/0.1964, allocations: 36 kB / 0.7223 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.199, allocations: 1.798 MB / 0.724 GB, free: 8.656 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.01047/0.2095, allocations: 7.594 MB / 0.7315 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.2113, allocations: 1.444 MB / 0.7329 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008304/0.2121, allocations: 0.6564 MB / 0.7335 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006188/0.2183, allocations: 3.851 MB / 0.7373 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.2184, allocations: 39.56 kB / 0.7373 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.936e-06/0.2184, allocations: 3.938 kB / 0.7373 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.00241/0.2208, allocations: 1.517 MB / 0.7388 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.2208, allocations: 64.41 kB / 0.7388 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/0.2229, allocations: 1.645 MB / 0.7405 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.762e-05/0.2229, allocations: 45.7 kB / 0.7405 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005712/0.2235, allocations: 0.7614 MB / 0.7412 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000248/0.2238, allocations: 319.5 kB / 0.7415 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003806/0.2242, allocations: 287.4 kB / 0.7418 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2243, allocations: 365.9 kB / 0.7422 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009602/0.2253, allocations: 0.6995 MB / 0.7429 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.2265, allocations: 1.016 MB / 0.7438 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/0.2285, allocations: 1.624 MB / 0.7454 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/0.2285, allocations: 4.062 kB / 0.7454 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.2668/0.4953, allocations: 1.949 MB / 0.7473 GB, free: 81.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.4953, allocations: 8.938 kB / 0.7473 GB, free: 81.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.4954, allocations: 9.828 kB / 0.7474 GB, free: 81.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.504e-05/0.4954, allocations: 17.66 kB / 0.7474 GB, free: 81.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.4969, allocations: 331.9 kB / 0.7477 GB, free: 81.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.232e-05/0.497, allocations: 22.77 kB / 0.7477 GB, free: 81.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.4982, allocations: 197 kB / 0.7479 GB, free: 81.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.4984, allocations: 60.45 kB / 0.748 GB, free: 81.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001786/0.5002, allocations: 1.283 MB / 0.7492 GB, free: 80.97 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001125/0.5013, allocations: 1.018 MB / 0.7502 GB, free: 80.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001856/0.5032, allocations: 1.627 MB / 0.7518 GB, free: 80.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.932e-06/0.5032, allocations: 2.656 kB / 0.7518 GB, free: 80.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003152/0.5063, allocations: 1.951 MB / 0.7537 GB, free: 79.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.5064, allocations: 10.62 kB / 0.7537 GB, free: 79.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.5064, allocations: 8.719 kB / 0.7537 GB, free: 79.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.5064, allocations: 16.28 kB / 0.7537 GB, free: 79.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.5077, allocations: 328.5 kB / 0.754 GB, free: 79.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.547e-05/0.5077, allocations: 22.05 kB / 0.7541 GB, free: 79.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.5088, allocations: 152.5 kB / 0.7542 GB, free: 79.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.509, allocations: 60.86 kB / 0.7543 GB, free: 79.35 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.0002943/0.5093, allocations: 263.2 kB / 0.7545 GB, free: 79.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003186/0.5096, allocations: 157.2 kB / 0.7547 GB, free: 79.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/0.5119, allocations: 1.273 MB / 0.7559 GB, free: 78.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001429/0.5133, allocations: 1.288 MB / 0.7572 GB, free: 77.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5133, allocations: 3.969 kB / 0.7572 GB, free: 77.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006561/0.514, allocations: 392.5 kB / 0.7576 GB, free: 77.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/0.5142, allocations: 21.84 kB / 0.7576 GB, free: 77.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007161/0.5149, allocations: 51.94 kB / 0.7576 GB, free: 77.56 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.557e-05/0.515, allocations: 53.12 kB / 0.7577 GB, free: 77.55 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002005/0.517, allocations: 1.243 MB / 0.7589 GB, free: 77.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002366/0.5194, allocations: 2.022 MB / 0.7609 GB, free: 76.21 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006238/0.52, allocations: 0.5286 MB / 0.7614 GB, free: 76.03 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001601/0.5217, allocations: 1.163 MB / 0.7625 GB, free: 75.6 MB / 0.5762 GB Notification: Performance of Backend: time 3.71e-07/0.5217, allocations: 1.844 kB / 0.7625 GB, free: 75.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004228/0.5259, allocations: 2.313 MB / 0.7648 GB, free: 74.91 MB / 0.5762 GB Notification: Performance of SimCode: time 0.006445/0.5324, allocations: 4.372 MB / 0.769 GB, free: 72.81 MB / 0.5762 GB Notification: Performance of Templates: time 0.04878/0.5812, allocations: 42.43 MB / 0.8105 GB, free: 37.83 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)