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-master/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-master/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: "" <> 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/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 171.9 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8694/0.8694, allocations: 133.6 MB / 141.6 MB, free: 2.906 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.569/1.569, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.001158/0.001158, allocations: 100.7 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.533e-05/2.552e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5412/0.5412, allocations: 82.3 MB / 0.6339 GB, free: 40.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9528/1.494, allocations: 382.3 MB / 1.007 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/1.494, allocations: 95.38 kB / 1.007 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.94/3.434, allocations: 417.8 MB / 1.415 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.803e-06/3.434, allocations: 4.719 kB / 1.415 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002894/3.434, allocations: 52.2 kB / 1.415 GB, free: 181.7 MB / 0.6823 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.005749/3.44, allocations: 1.926 MB / 1.417 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/3.44, allocations: 11.78 kB / 1.417 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/3.441, allocations: 222.9 kB / 1.418 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004286/3.446, allocations: 2.129 MB / 1.42 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/3.446, allocations: 44.67 kB / 1.42 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/3.446, allocations: 89.06 kB / 1.42 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002514/3.449, allocations: 1.575 MB / 1.421 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/3.451, allocations: 1.652 MB / 1.423 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.104e-05/3.451, allocations: 6.25 kB / 1.423 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/3.451, allocations: 3.969 kB / 1.423 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-05/3.451, allocations: 35.75 kB / 1.423 GB, free: 178.8 MB / 0.6823 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.01092/3.462, allocations: 7.235 MB / 1.43 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/3.464, allocations: 1.265 MB / 1.431 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006346/3.464, allocations: 0.5984 MB / 1.432 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005695/3.47, allocations: 3.726 MB / 1.435 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/3.47, allocations: 50.25 kB / 1.435 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=86): time 3.046e-06/3.47, allocations: 0.75 kB / 1.435 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86): time 0.002198/3.472, allocations: 1.112 MB / 1.437 GB, free: 169 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/3.472, allocations: 61.53 kB / 1.437 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/3.474, allocations: 1.243 MB / 1.438 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.3e-05/3.474, allocations: 29.39 kB / 1.438 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004655/3.474, allocations: 0.7666 MB / 1.439 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/3.475, allocations: 299 kB / 1.439 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.105e-05/3.475, allocations: 0 / 1.439 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001048/3.475, allocations: 360.9 kB / 1.439 GB, free: 167 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007623/3.476, allocations: 0.6373 MB / 1.44 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008911/3.477, allocations: 0.9667 MB / 1.441 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002482/3.479, allocations: 1.184 MB / 1.442 GB, free: 165 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/3.479, allocations: 4 kB / 1.442 GB, free: 165 MB / 0.6823 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003868/3.483, allocations: 2.124 MB / 1.444 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006758/3.484, allocations: 3.495 MB / 1.447 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/3.484, allocations: 8 kB / 1.447 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-05/3.484, allocations: 20 kB / 1.448 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/3.485, allocations: 345.8 kB / 1.448 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/3.485, allocations: 19.94 kB / 1.448 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/3.486, allocations: 176.5 kB / 1.448 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/3.486, allocations: 66.39 kB / 1.448 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/3.486, allocations: 4 kB / 1.448 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003453/3.49, allocations: 1.958 MB / 1.45 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/3.49, allocations: 8 kB / 1.45 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/3.49, allocations: 18.75 kB / 1.45 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/3.491, allocations: 347.5 kB / 1.45 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/3.491, allocations: 23.92 kB / 1.45 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/3.492, allocations: 146.8 kB / 1.451 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/3.492, allocations: 59.98 kB / 1.451 GB, free: 156 MB / 0.6823 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.0002808/3.493, allocations: 140.6 kB / 1.451 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001967/3.495, allocations: 1.098 MB / 1.452 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/3.495, allocations: 134.3 kB / 1.452 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/3.497, allocations: 1.242 MB / 1.453 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/3.497, allocations: 13.95 kB / 1.453 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/3.497, allocations: 0 / 1.453 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001653/3.499, allocations: 1.307 MB / 1.454 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00479/3.504, allocations: 2.736 MB / 1.457 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/3.504, allocations: 0 / 1.457 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007632/3.505, allocations: 181.6 kB / 1.457 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/3.505, allocations: 11.78 kB / 1.457 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.785e-05/3.505, allocations: 11.98 kB / 1.457 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.779e-06/3.505, allocations: 6.156 kB / 1.457 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/3.505, allocations: 3.219 kB / 1.457 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/3.508, allocations: 1.91 MB / 1.459 GB, free: 147 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000722/3.508, allocations: 391.1 kB / 1.46 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/3.508, allocations: 11.98 kB / 1.46 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007121/3.509, allocations: 48.3 kB / 1.46 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.575e-05/3.509, allocations: 48.7 kB / 1.46 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.669e-05/3.509, allocations: 39.97 kB / 1.46 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001196/3.511, allocations: 0.9458 MB / 1.461 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/3.511, allocations: 0 / 1.461 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002818/3.513, allocations: 0.9523 MB / 1.462 GB, free: 144.6 MB / 0.6823 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.004001/3.517, allocations: 3.046 MB / 1.464 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002902/3.52, allocations: 2.202 MB / 1.467 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/3.52, allocations: 2.312 kB / 1.467 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005583/3.521, allocations: 490.6 kB / 1.467 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003327/3.524, allocations: 0.6315 MB / 1.468 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006165/3.53, allocations: 3.529 MB / 1.471 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000969/3.531, allocations: 1.71 MB / 1.473 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00308/3.535, allocations: 1.153 MB / 1.474 GB, free: 132 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007553/3.535, allocations: 0.5923 MB / 1.475 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.202e-06/3.535, allocations: 0 / 1.475 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07784/3.613, allocations: 42.32 MB / 1.516 GB, free: 89.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002677/3.614, allocations: 185.6 kB / 1.516 GB, free: 89.66 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.348/6.962, allocations: 0 / 1.516 GB, free: 89.66 MB / 0.6823 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/linux/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)