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.002147/0.002147, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8449/0.8449, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.637/1.637, allocations: 221.3 MB / 400.4 MB, free: 5.797 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001276, allocations: 90.36 kB / 483.3 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.197e-05/4.198e-05, allocations: 3 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2014, allocations: 82.3 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.448/1.65, allocations: 382.9 MB / 1.014 GB, free: 239.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/1.65, allocations: 98.88 kB / 1.015 GB, free: 239.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.347/2.998, allocations: 420 MB / 1.425 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.663e-06/2.998, allocations: 0 / 1.425 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001567/2.998, allocations: 47.98 kB / 1.425 GB, free: 88.38 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.003647/3.001, allocations: 1.939 MB / 1.427 GB, free: 86.39 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/3.001, allocations: 8.031 kB / 1.427 GB, free: 86.39 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002461/3.002, allocations: 214.7 kB / 1.427 GB, free: 86.17 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000661/3.002, allocations: 221.5 kB / 1.427 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003673/3.006, allocations: 2.123 MB / 1.429 GB, free: 83.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.159e-05/3.006, allocations: 111.9 kB / 1.429 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/3.006, allocations: 156 kB / 1.429 GB, free: 83.51 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/3.009, allocations: 1.869 MB / 1.431 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.925e-05/3.009, allocations: 8.688 kB / 1.431 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/3.009, allocations: 56 kB / 1.431 GB, free: 81.51 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.216e-05/3.009, allocations: 43.95 kB / 1.431 GB, free: 81.47 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/3.011, allocations: 1.658 MB / 1.433 GB, free: 79.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.009491/3.021, allocations: 7.543 MB / 1.44 GB, free: 71.97 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/3.022, allocations: 1.311 MB / 1.442 GB, free: 70.65 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006666/3.023, allocations: 0.6308 MB / 1.442 GB, free: 70.02 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005656/3.029, allocations: 3.829 MB / 1.446 GB, free: 65.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/3.029, allocations: 47.34 kB / 1.446 GB, free: 65.83 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=86): time 2.996e-06/3.029, allocations: 0 / 1.446 GB, free: 65.83 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86): time 0.001587/3.03, allocations: 1.049 MB / 1.447 GB, free: 64.77 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/3.03, allocations: 60.19 kB / 1.447 GB, free: 64.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/3.032, allocations: 1.511 MB / 1.449 GB, free: 63.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-05/3.032, allocations: 53.7 kB / 1.449 GB, free: 63.12 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/3.033, allocations: 0.7652 MB / 1.449 GB, free: 62.35 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/3.033, allocations: 311.6 kB / 1.45 GB, free: 62.04 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/3.033, allocations: 32 kB / 1.45 GB, free: 62.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001018/3.033, allocations: 361.9 kB / 1.45 GB, free: 61.65 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007914/3.034, allocations: 0.6637 MB / 1.451 GB, free: 60.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009438/3.035, allocations: 1.006 MB / 1.452 GB, free: 59.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009531/3.036, allocations: 0.8597 MB / 1.452 GB, free: 58.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/3.036, allocations: 4 kB / 1.452 GB, free: 58.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002394/3.038, allocations: 1.909 MB / 1.454 GB, free: 57.06 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00065/3.039, allocations: 3.536 MB / 1.458 GB, free: 53.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/3.039, allocations: 8 kB / 1.458 GB, free: 53.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/3.039, allocations: 20 kB / 1.458 GB, free: 53.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/3.04, allocations: 339.5 kB / 1.458 GB, free: 52.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/3.04, allocations: 27.98 kB / 1.458 GB, free: 52.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/3.041, allocations: 229.9 kB / 1.458 GB, free: 52.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/3.041, allocations: 67.94 kB / 1.458 GB, free: 52.61 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/3.042, allocations: 4 kB / 1.458 GB, free: 52.61 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002098/3.044, allocations: 1.756 MB / 1.46 GB, free: 50.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/3.044, allocations: 8 kB / 1.46 GB, free: 50.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/3.044, allocations: 16 kB / 1.46 GB, free: 50.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/3.045, allocations: 347.5 kB / 1.461 GB, free: 50.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/3.045, allocations: 23.92 kB / 1.461 GB, free: 50.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/3.046, allocations: 198.8 kB / 1.461 GB, free: 50.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/3.046, allocations: 59.98 kB / 1.461 GB, free: 50.21 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.0002553/3.046, allocations: 184.5 kB / 1.461 GB, free: 50.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/3.047, allocations: 154.2 kB / 1.461 GB, free: 49.87 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/3.048, allocations: 1.191 MB / 1.462 GB, free: 48.67 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/3.049, allocations: 15.94 kB / 1.462 GB, free: 48.65 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/3.049, allocations: 0 / 1.462 GB, free: 48.65 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00113/3.05, allocations: 1.24 MB / 1.464 GB, free: 47.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003824/3.053, allocations: 2.87 MB / 1.466 GB, free: 44.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/3.054, allocations: 0 / 1.466 GB, free: 44.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007264/3.054, allocations: 175.8 kB / 1.466 GB, free: 44.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/3.054, allocations: 8.094 kB / 1.467 GB, free: 44.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.863e-05/3.054, allocations: 23.98 kB / 1.467 GB, free: 44.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/3.054, allocations: 4 kB / 1.467 GB, free: 44.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/3.054, allocations: 0 / 1.467 GB, free: 44.17 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/3.056, allocations: 1.889 MB / 1.468 GB, free: 42.22 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006998/3.057, allocations: 426.8 kB / 1.469 GB, free: 41.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/3.057, allocations: 23.98 kB / 1.469 GB, free: 41.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00082/3.058, allocations: 71.78 kB / 1.469 GB, free: 41.69 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.99e-05/3.058, allocations: 56.59 kB / 1.469 GB, free: 41.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/3.058, allocations: 35.98 kB / 1.469 GB, free: 41.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001409/3.06, allocations: 1.244 MB / 1.47 GB, free: 40.36 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/3.06, allocations: 0 / 1.47 GB, free: 40.36 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002476/3.062, allocations: 0.963 MB / 1.471 GB, free: 39.39 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.00298/3.065, allocations: 3.01 MB / 1.474 GB, free: 36.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002844/3.068, allocations: 2.317 MB / 1.476 GB, free: 34.03 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/3.068, allocations: 384 / 1.476 GB, free: 34.03 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005205/3.069, allocations: 0.5079 MB / 1.477 GB, free: 33.52 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/3.072, allocations: 0.8383 MB / 1.478 GB, free: 32.69 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/3.077, allocations: 3.674 MB / 1.481 GB, free: 28.96 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008895/3.078, allocations: 1.712 MB / 1.483 GB, free: 27.21 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003069/3.081, allocations: 1.3 MB / 1.484 GB, free: 25.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007397/3.082, allocations: 0.6008 MB / 1.485 GB, free: 25.31 MB / 0.6823 GB Notification: Performance of SimCode: time 1.583e-06/3.082, allocations: 4 kB / 1.485 GB, free: 25.31 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5881/3.67, allocations: 53.3 MB / 1.537 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/3.67, allocations: 206.3 kB / 1.537 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.681/7.351, allocations: 0 / 1.537 GB, free: 128.2 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)