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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.06/1.06, allocations: 130.7 MB / 138.7 MB, free: 3.543 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.772/1.772, allocations: 221.5 MB / 391.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 100.7 kB / 473.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.961e-05/1.961e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5438/0.5438, allocations: 81.57 MB / 0.6282 GB, free: 42.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9816/1.526, allocations: 382 MB / 1.001 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/1.526, allocations: 96.19 kB / 1.001 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.879/3.405, allocations: 417.8 MB / 1.409 GB, free: 158.7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.904e-06/3.405, allocations: 0 / 1.409 GB, free: 158.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003606/3.405, allocations: 58.72 kB / 1.409 GB, free: 158.7 MB / 0.6667 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.007298/3.413, allocations: 1.92 MB / 1.411 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/3.413, allocations: 14.16 kB / 1.411 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/3.415, allocations: 228.2 kB / 1.412 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005904/3.42, allocations: 2.127 MB / 1.414 GB, free: 155.9 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.516e-05/3.421, allocations: 40.84 kB / 1.414 GB, free: 155.9 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000669/3.421, allocations: 93.16 kB / 1.414 GB, free: 155.8 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003483/3.425, allocations: 1.587 MB / 1.415 GB, free: 154.2 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003842/3.429, allocations: 1.648 MB / 1.417 GB, free: 152.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.13e-05/3.429, allocations: 4 kB / 1.417 GB, free: 152.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/3.429, allocations: 0 / 1.417 GB, free: 152.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.936e-05/3.429, allocations: 43.89 kB / 1.417 GB, free: 152.5 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.0131/3.442, allocations: 7.228 MB / 1.424 GB, free: 145.1 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/3.444, allocations: 1.261 MB / 1.425 GB, free: 143.9 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000768/3.445, allocations: 0.6016 MB / 1.426 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006586/3.451, allocations: 3.739 MB / 1.429 GB, free: 139.3 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/3.451, allocations: 43.34 kB / 1.43 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=86): time 2.926e-06/3.451, allocations: 2.781 kB / 1.43 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=86): time 0.00276/3.454, allocations: 1.115 MB / 1.431 GB, free: 138.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/3.454, allocations: 64.12 kB / 1.431 GB, free: 138 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/3.457, allocations: 1.235 MB / 1.432 GB, free: 136.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001844/3.457, allocations: 29.7 kB / 1.432 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007135/3.458, allocations: 0.7747 MB / 1.433 GB, free: 135.9 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003108/3.458, allocations: 295.6 kB / 1.433 GB, free: 135.7 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/3.458, allocations: 0 / 1.433 GB, free: 135.7 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001377/3.458, allocations: 365.9 kB / 1.433 GB, free: 135.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008642/3.459, allocations: 0.6315 MB / 1.434 GB, free: 134.7 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/3.46, allocations: 0.9732 MB / 1.435 GB, free: 133.6 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002887/3.463, allocations: 1.181 MB / 1.436 GB, free: 132.4 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/3.463, allocations: 4 kB / 1.436 GB, free: 132.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004544/3.468, allocations: 2.125 MB / 1.438 GB, free: 130.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001017/3.469, allocations: 3.489 MB / 1.441 GB, free: 126.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.743e-05/3.469, allocations: 8 kB / 1.441 GB, free: 126.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-05/3.469, allocations: 20 kB / 1.442 GB, free: 126.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/3.47, allocations: 346.1 kB / 1.442 GB, free: 126.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.611e-05/3.47, allocations: 27.75 kB / 1.442 GB, free: 126.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/3.472, allocations: 176.8 kB / 1.442 GB, free: 126 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/3.472, allocations: 63.98 kB / 1.442 GB, free: 125.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/3.472, allocations: 8.562 kB / 1.442 GB, free: 125.9 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003983/3.476, allocations: 1.951 MB / 1.444 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/3.476, allocations: 8 kB / 1.444 GB, free: 123.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/3.476, allocations: 19.94 kB / 1.444 GB, free: 123.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/3.477, allocations: 354.6 kB / 1.444 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.972e-05/3.477, allocations: 27.88 kB / 1.444 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/3.479, allocations: 137.2 kB / 1.445 GB, free: 123.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/3.479, allocations: 59.98 kB / 1.445 GB, free: 123.4 MB / 0.6667 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003615/3.48, allocations: 136.5 kB / 1.445 GB, free: 123.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005521/3.48, allocations: 135.4 kB / 1.445 GB, free: 123.1 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/3.483, allocations: 1.233 MB / 1.446 GB, free: 121.9 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/3.483, allocations: 10.44 kB / 1.446 GB, free: 121.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/3.483, allocations: 7.953 kB / 1.446 GB, free: 121.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001837/3.485, allocations: 1.309 MB / 1.447 GB, free: 120.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005885/3.491, allocations: 2.736 MB / 1.45 GB, free: 117.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/3.491, allocations: 0 / 1.45 GB, free: 117.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007515/3.492, allocations: 179.7 kB / 1.45 GB, free: 117.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.977e-05/3.492, allocations: 10.94 kB / 1.45 GB, free: 117.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.729e-05/3.492, allocations: 19.94 kB / 1.45 GB, free: 117.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/3.492, allocations: 4 kB / 1.45 GB, free: 117.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/3.492, allocations: 0 / 1.45 GB, free: 117.5 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003069/3.495, allocations: 1.912 MB / 1.452 GB, free: 115.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/3.496, allocations: 397.8 kB / 1.452 GB, free: 115.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005125/3.497, allocations: 15.92 kB / 1.452 GB, free: 115.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/3.498, allocations: 38.02 kB / 1.453 GB, free: 115.1 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/3.498, allocations: 51.92 kB / 1.453 GB, free: 115 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/3.498, allocations: 35.98 kB / 1.453 GB, free: 115 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001802/3.5, allocations: 0.9536 MB / 1.454 GB, free: 114 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.91e-07/3.5, allocations: 0 / 1.454 GB, free: 114 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004391/3.504, allocations: 0.9465 MB / 1.454 GB, free: 113.1 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001469/3.506, allocations: 0.49 MB / 1.455 GB, free: 112.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003604/3.509, allocations: 2.203 MB / 1.457 GB, free: 110.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/3.509, allocations: 1.5 kB / 1.457 GB, free: 110.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006808/3.51, allocations: 490.6 kB / 1.458 GB, free: 110 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003708/3.514, allocations: 0.6348 MB / 1.458 GB, free: 109.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00667/3.52, allocations: 2.953 MB / 1.461 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001938/3.522, allocations: 1.718 MB / 1.463 GB, free: 104.7 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.004678/3.527, allocations: 1.159 MB / 1.464 GB, free: 103.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005607/3.528, allocations: 103.4 kB / 1.464 GB, free: 103.4 MB / 0.6667 GB Notification: Performance of SimCode: time 1.633e-06/3.528, allocations: 0 / 1.464 GB, free: 103.4 MB / 0.6667 GB Notification: Performance of Templates: time 0.05005/3.578, allocations: 28.01 MB / 1.491 GB, free: 75.96 MB / 0.6667 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)