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.007927/0.007927, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001648/0.001648, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7472/0.7472, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.89 kB / 0.5809 GB, free: 8.051 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.4479, allocations: 80.2 MB / 0.6592 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02701/0.475, allocations: 28.55 MB / 0.6871 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01173/0.4867, allocations: 7.898 MB / 0.6948 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.4886, allocations: 42.97 kB / 0.6948 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.4902, allocations: 418 kB / 0.6952 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003212/0.4934, allocations: 1.058 MB / 0.6962 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003099/0.4965, allocations: 1.076 MB / 0.6973 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005922/0.5025, allocations: 4.914 MB / 0.7021 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003114/0.5056, allocations: 2.295 MB / 0.7043 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004467/0.5101, allocations: 1.829 MB / 0.7061 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002891/0.513, allocations: 1.457 MB / 0.7075 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004521/0.5135, allocations: 228 kB / 0.7078 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/0.5167, allocations: 1.311 MB / 0.709 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007678/0.5175, allocations: 0.5569 MB / 0.7096 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002194/0.5197, allocations: 1.155 MB / 0.7107 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005307/0.525, allocations: 3.693 MB / 0.7143 GB, free: 13.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.525, allocations: 0 / 0.7143 GB, free: 13.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.136e-06/0.5251, allocations: 0 / 0.7143 GB, free: 13.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.673e-05/0.5251, allocations: 0 / 0.7143 GB, free: 13.54 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.005249/0.5304, allocations: 2.565 MB / 0.7168 GB, free: 10.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.5305, allocations: 12.03 kB / 0.7168 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002712/0.5307, allocations: 214.9 kB / 0.717 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008195/0.5316, allocations: 226.5 kB / 0.7173 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/0.5345, allocations: 1.799 MB / 0.719 GB, free: 8.605 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.056e-05/0.5346, allocations: 110.7 kB / 0.7191 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002349/0.5348, allocations: 160 kB / 0.7193 GB, free: 8.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/0.5377, allocations: 2.005 MB / 0.7212 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.5378, allocations: 0 / 0.7212 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.5379, allocations: 59.98 kB / 0.7213 GB, free: 6.211 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.459e-05/0.538, allocations: 40 kB / 0.7213 GB, free: 6.172 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002557/0.5405, allocations: 1.802 MB / 0.7231 GB, free: 4.363 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.01064/0.5512, allocations: 7.598 MB / 0.7305 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.553, allocations: 1.44 MB / 0.7319 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008401/0.5538, allocations: 0.6713 MB / 0.7326 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00611/0.56, allocations: 3.846 MB / 0.7363 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.56, allocations: 51.55 kB / 0.7364 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 2.675e-06/0.56, allocations: 0 / 0.7364 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.002481/0.5625, allocations: 1.514 MB / 0.7379 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.5626, allocations: 60.41 kB / 0.7379 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/0.5648, allocations: 1.645 MB / 0.7395 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.5649, allocations: 49.7 kB / 0.7396 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005976/0.5655, allocations: 0.7537 MB / 0.7403 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/0.5658, allocations: 311.4 kB / 0.7406 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004242/0.5662, allocations: 295.4 kB / 0.7409 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.5664, allocations: 365.9 kB / 0.7412 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.5675, allocations: 0.6917 MB / 0.7419 GB, free: 384 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.5688, allocations: 1.02 MB / 0.7429 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/0.5709, allocations: 1.624 MB / 0.7445 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.571, allocations: 4 kB / 0.7445 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003146/0.5741, allocations: 1.955 MB / 0.7464 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.5742, allocations: 8 kB / 0.7464 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.5742, allocations: 8 kB / 0.7464 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.721e-05/0.5742, allocations: 16 kB / 0.7464 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.5755, allocations: 331.5 kB / 0.7467 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-05/0.5756, allocations: 23.92 kB / 0.7468 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.5769, allocations: 198.1 kB / 0.747 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.5771, allocations: 60.31 kB / 0.747 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00188/0.5789, allocations: 1.289 MB / 0.7483 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001249/0.5802, allocations: 1.016 MB / 0.7493 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00204/0.5823, allocations: 1.624 MB / 0.7509 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.624e-06/0.5823, allocations: 4 kB / 0.7509 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003044/0.5853, allocations: 1.94 MB / 0.7528 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.5854, allocations: 18.44 kB / 0.7528 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.5854, allocations: 12.16 kB / 0.7528 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.5854, allocations: 16 kB / 0.7528 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.5866, allocations: 335.4 kB / 0.7531 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.611e-05/0.5866, allocations: 19.94 kB / 0.7531 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.5878, allocations: 146.9 kB / 0.7533 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.5879, allocations: 63.98 kB / 0.7533 GB, free: 4.145 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.0003231/0.5882, allocations: 259.8 kB / 0.7536 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004196/0.5887, allocations: 150.1 kB / 0.7537 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.5907, allocations: 1.285 MB / 0.755 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.5907, allocations: 11.98 kB / 0.755 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5907, allocations: 0 / 0.755 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001441/0.5922, allocations: 1.28 MB / 0.7562 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004591/0.5968, allocations: 2.974 MB / 0.7591 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.5968, allocations: 0 / 0.7591 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007823/0.5976, allocations: 179.8 kB / 0.7593 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/0.5976, allocations: 4 kB / 0.7593 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.19e-05/0.5977, allocations: 27.92 kB / 0.7593 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.5977, allocations: 8 kB / 0.7594 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.5977, allocations: 7.922 kB / 0.7594 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002772/0.6005, allocations: 1.909 MB / 0.7612 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008381/0.6014, allocations: 406.8 kB / 0.7616 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003324/0.6017, allocations: 19.94 kB / 0.7616 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008768/0.6026, allocations: 51.94 kB / 0.7617 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-05/0.6027, allocations: 56.88 kB / 0.7617 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.581e-05/0.6028, allocations: 39.97 kB / 0.7618 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001783/0.6046, allocations: 1.23 MB / 0.763 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6046, allocations: 0 / 0.763 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002545/0.6071, allocations: 0.9202 MB / 0.7639 GB, free: 9.109 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.003582/0.6107, allocations: 2.727 MB / 0.7665 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003708/0.6145, allocations: 2.328 MB / 0.7688 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.6145, allocations: 0 / 0.7688 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006873/0.6152, allocations: 0.5209 MB / 0.7693 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00394/0.6191, allocations: 0.9279 MB / 0.7702 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02342/0.6426, allocations: 15.07 MB / 0.7849 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/0.6441, allocations: 1.682 MB / 0.7866 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002713/0.6469, allocations: 0.914 MB / 0.7875 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/0.648, allocations: 0.632 MB / 0.7881 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of SimCode: time 8.41e-07/0.648, allocations: 0 / 0.7881 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08365/0.7316, allocations: 49.37 MB / 0.8363 GB, free: 15.12 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.96, allocations: 0 / 0.8363 GB, free: 15.12 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)