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: "" <> buildModelFMU(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004981/0.004981, allocations: 97.88 kB / 15.73 MB, free: 6.004 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.001319/0.001319, allocations: 193 kB / 16.67 MB, free: 5.934 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7827/0.7827, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 63.91 kB / 0.5809 GB, free: 8.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3469, allocations: 80.22 MB / 0.6592 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.0271/0.374, allocations: 28.56 MB / 0.6871 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01187/0.3859, allocations: 7.883 MB / 0.6948 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.3871, allocations: 39.12 kB / 0.6948 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.3882, allocations: 416.2 kB / 0.6952 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002475/0.3907, allocations: 1.005 MB / 0.6962 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.3934, allocations: 1.079 MB / 0.6972 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005293/0.3987, allocations: 4.906 MB / 0.702 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002796/0.4015, allocations: 2.286 MB / 0.7043 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003678/0.4052, allocations: 1.798 MB / 0.706 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002272/0.4075, allocations: 1.455 MB / 0.7074 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004047/0.4079, allocations: 232 kB / 0.7077 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/0.4107, allocations: 1.307 MB / 0.7089 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006312/0.4114, allocations: 0.5569 MB / 0.7095 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001543/0.4129, allocations: 1.155 MB / 0.7106 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0048/0.4177, allocations: 3.7 MB / 0.7142 GB, free: 13.62 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.4177, allocations: 0 / 0.7142 GB, free: 13.62 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4177, allocations: 3.938 kB / 0.7142 GB, free: 13.62 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.207e-05/0.4178, allocations: 4 kB / 0.7142 GB, free: 13.61 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.00509/0.4229, allocations: 2.621 MB / 0.7168 GB, free: 10.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.4229, allocations: 8.031 kB / 0.7168 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002904/0.4232, allocations: 218.9 kB / 0.717 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008079/0.4241, allocations: 247.6 kB / 0.7173 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003003/0.4271, allocations: 1.808 MB / 0.719 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.42e-05/0.4272, allocations: 114.7 kB / 0.7191 GB, free: 8.484 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002629/0.4275, allocations: 148 kB / 0.7193 GB, free: 8.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003249/0.4307, allocations: 2.001 MB / 0.7212 GB, free: 6.273 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.899e-05/0.4308, allocations: 3.938 kB / 0.7212 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.4309, allocations: 60 kB / 0.7213 GB, free: 6.211 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.723e-05/0.431, allocations: 43.98 kB / 0.7213 GB, free: 6.168 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002919/0.4339, allocations: 1.794 MB / 0.7231 GB, free: 4.367 MB / 0.545 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.01154/0.4455, allocations: 7.611 MB / 0.7305 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.4475, allocations: 1.441 MB / 0.7319 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009722/0.4485, allocations: 0.6653 MB / 0.7326 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00646/0.4549, allocations: 3.866 MB / 0.7363 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.455, allocations: 47.56 kB / 0.7364 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 2.335e-06/0.455, allocations: 0 / 0.7364 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.002603/0.4576, allocations: 1.514 MB / 0.7379 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.4577, allocations: 64.41 kB / 0.7379 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002252/0.4599, allocations: 1.645 MB / 0.7395 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.232e-05/0.46, allocations: 49.7 kB / 0.7396 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007122/0.4608, allocations: 0.7631 MB / 0.7403 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/0.4611, allocations: 333.2 kB / 0.7406 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004391/0.4615, allocations: 295.5 kB / 0.7409 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.4617, allocations: 365.9 kB / 0.7413 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.4628, allocations: 0.6956 MB / 0.742 GB, free: 328 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.4643, allocations: 1.02 MB / 0.743 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00229/0.4666, allocations: 1.62 MB / 0.7445 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/0.4666, allocations: 8.062 kB / 0.7445 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003323/0.4699, allocations: 1.96 MB / 0.7465 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.4699, allocations: 8 kB / 0.7465 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.47, allocations: 8 kB / 0.7465 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/0.47, allocations: 16 kB / 0.7465 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.4713, allocations: 335.5 kB / 0.7468 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.859e-05/0.4713, allocations: 24.45 kB / 0.7468 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.4725, allocations: 214.6 kB / 0.747 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.4727, allocations: 55.98 kB / 0.7471 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001998/0.4747, allocations: 1.289 MB / 0.7483 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001394/0.4761, allocations: 1.016 MB / 0.7493 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002266/0.4783, allocations: 1.624 MB / 0.7509 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.809e-06/0.4784, allocations: 3.938 kB / 0.7509 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003281/0.4816, allocations: 1.953 MB / 0.7528 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.4817, allocations: 9.875 kB / 0.7528 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.4817, allocations: 8 kB / 0.7529 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.4817, allocations: 16 kB / 0.7529 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.483, allocations: 335.5 kB / 0.7532 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/0.483, allocations: 23.92 kB / 0.7532 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.4841, allocations: 155.1 kB / 0.7534 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.4843, allocations: 59.98 kB / 0.7534 GB, free: 4.062 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.0003381/0.4846, allocations: 259.9 kB / 0.7537 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003141/0.4849, allocations: 163 kB / 0.7538 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.4871, allocations: 1.278 MB / 0.7551 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.4871, allocations: 8 kB / 0.7551 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4872, allocations: 0 / 0.7551 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001649/0.4888, allocations: 1.284 MB / 0.7563 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004448/0.4933, allocations: 2.967 MB / 0.7592 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.4933, allocations: 0 / 0.7592 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008069/0.4941, allocations: 187.8 kB / 0.7594 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.4941, allocations: 4 kB / 0.7594 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.315e-05/0.4942, allocations: 27.98 kB / 0.7594 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.4942, allocations: 8.125 kB / 0.7594 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4942, allocations: 4 kB / 0.7594 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/0.497, allocations: 1.922 MB / 0.7613 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006777/0.4977, allocations: 407.7 kB / 0.7617 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.498, allocations: 31.89 kB / 0.7617 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007754/0.4987, allocations: 51.88 kB / 0.7618 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.4988, allocations: 48.94 kB / 0.7618 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.227e-05/0.4989, allocations: 35.97 kB / 0.7619 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00181/0.5008, allocations: 1.234 MB / 0.7631 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5008, allocations: 0 / 0.7631 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00223/0.503, allocations: 0.9242 MB / 0.764 GB, free: 9.008 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003848/0.5069, allocations: 2.738 MB / 0.7667 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003755/0.5106, allocations: 2.335 MB / 0.7689 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5106, allocations: 0 / 0.7689 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000776/0.5114, allocations: 0.5224 MB / 0.7694 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003903/0.5153, allocations: 0.9151 MB / 0.7703 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02237/0.5377, allocations: 15.13 MB / 0.7851 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/0.5392, allocations: 1.682 MB / 0.7868 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002412/0.5416, allocations: 0.9162 MB / 0.7877 GB, free: 408 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/0.543, allocations: 0.6243 MB / 0.7883 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of SimCode: time 6.41e-07/0.543, allocations: 0 / 0.7883 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2939/0.837, allocations: 49.39 MB / 0.8365 GB, free: 14.93 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.99, allocations: 3.875 kB / 0.8365 GB, free: 14.93 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)