Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="IDEAS_dev_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.001505/0.001505, allocations: 177 kB / 7.649 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.8243/0.8243, allocations: 133.6 MB / 141.6 MB, free: 2.91 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.637/1.637, allocations: 221.5 MB / 395.5 MB, free: 10.76 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.001033/0.001033, allocations: 99.23 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.124e-05/2.125e-05, allocations: 4 kB / 0.5536 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5554/0.5554, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9492/1.505, allocations: 382.3 MB / 1.007 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/1.505, allocations: 91.02 kB / 1.007 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.805/3.31, allocations: 417.8 MB / 1.415 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.643e-06/3.31, allocations: 3.031 kB / 1.415 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001741/3.311, allocations: 45.98 kB / 1.415 GB, free: 181.6 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.004854/3.315, allocations: 1.939 MB / 1.417 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/3.316, allocations: 7.438 kB / 1.417 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009226/3.316, allocations: 224.3 kB / 1.418 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004043/3.32, allocations: 2.117 MB / 1.42 GB, free: 180 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.737e-05/3.321, allocations: 44.17 kB / 1.42 GB, free: 180 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/3.321, allocations: 92.16 kB / 1.42 GB, free: 180 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002396/3.323, allocations: 1.583 MB / 1.421 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/3.326, allocations: 1.647 MB / 1.423 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.187e-05/3.326, allocations: 9.672 kB / 1.423 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/3.326, allocations: 3.75 kB / 1.423 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.449e-05/3.326, allocations: 39.69 kB / 1.423 GB, free: 178.5 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.01083/3.337, allocations: 7.225 MB / 1.43 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/3.338, allocations: 1.262 MB / 1.431 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006683/3.339, allocations: 0.5973 MB / 1.432 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005958/3.345, allocations: 3.739 MB / 1.435 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/3.345, allocations: 38.97 kB / 1.435 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=86): time 3.927e-06/3.345, allocations: 0 / 1.435 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86): time 0.002351/3.347, allocations: 1.116 MB / 1.437 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/3.347, allocations: 60 kB / 1.437 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/3.349, allocations: 1.241 MB / 1.438 GB, free: 168 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/3.349, allocations: 29.55 kB / 1.438 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004839/3.35, allocations: 0.7632 MB / 1.439 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/3.35, allocations: 300.5 kB / 1.439 GB, free: 167 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/3.35, allocations: 2.594 kB / 1.439 GB, free: 167 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001088/3.35, allocations: 361.1 kB / 1.439 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007675/3.351, allocations: 0.6346 MB / 1.44 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008986/3.352, allocations: 0.9734 MB / 1.441 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/3.354, allocations: 1.177 MB / 1.442 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/3.354, allocations: 0 / 1.442 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.00401/3.358, allocations: 2.13 MB / 1.444 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007452/3.359, allocations: 3.489 MB / 1.447 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/3.359, allocations: 12 kB / 1.447 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.82e-05/3.359, allocations: 16 kB / 1.447 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/3.36, allocations: 364.1 kB / 1.448 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/3.36, allocations: 15.94 kB / 1.448 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/3.362, allocations: 178 kB / 1.448 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/3.362, allocations: 63.98 kB / 1.448 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/3.362, allocations: 4 kB / 1.448 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003552/3.366, allocations: 1.957 MB / 1.45 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/3.366, allocations: 16.06 kB / 1.45 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/3.366, allocations: 16 kB / 1.45 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/3.367, allocations: 345.8 kB / 1.45 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/3.367, allocations: 27.91 kB / 1.45 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/3.368, allocations: 144.9 kB / 1.451 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/3.368, allocations: 59.98 kB / 1.451 GB, free: 155.6 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.0003219/3.369, allocations: 136.8 kB / 1.451 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002138/3.371, allocations: 1.107 MB / 1.452 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/3.371, allocations: 134.3 kB / 1.452 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/3.373, allocations: 1.231 MB / 1.453 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/3.373, allocations: 11.95 kB / 1.453 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/3.373, allocations: 0 / 1.453 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001567/3.375, allocations: 1.314 MB / 1.454 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004359/3.379, allocations: 2.736 MB / 1.457 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/3.379, allocations: 0 / 1.457 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007162/3.38, allocations: 182.3 kB / 1.457 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/3.38, allocations: 7.953 kB / 1.457 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.999e-05/3.38, allocations: 15.98 kB / 1.457 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/3.38, allocations: 4 kB / 1.457 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/3.38, allocations: 3.938 kB / 1.457 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/3.383, allocations: 1.912 MB / 1.459 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007397/3.384, allocations: 391.1 kB / 1.46 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/3.384, allocations: 7.984 kB / 1.46 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000698/3.384, allocations: 48.89 kB / 1.46 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/3.385, allocations: 56.64 kB / 1.46 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.283e-05/3.385, allocations: 33.86 kB / 1.46 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001212/3.386, allocations: 0.9576 MB / 1.461 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/3.386, allocations: 0 / 1.461 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002745/3.389, allocations: 0.95 MB / 1.462 GB, free: 144.2 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.003729/3.392, allocations: 3.031 MB / 1.464 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002958/3.395, allocations: 2.204 MB / 1.467 GB, free: 139 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/3.395, allocations: 3.938 kB / 1.467 GB, free: 139 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004985/3.396, allocations: 490.6 kB / 1.467 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/3.399, allocations: 0.6307 MB / 1.468 GB, free: 138 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00631/3.405, allocations: 3.529 MB / 1.471 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/3.406, allocations: 1.71 MB / 1.473 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003079/3.409, allocations: 1.149 MB / 1.474 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007408/3.41, allocations: 0.5852 MB / 1.475 GB, free: 131 MB / 0.6823 GB Notification: Performance of SimCode: time 1.704e-06/3.41, allocations: 4 kB / 1.475 GB, free: 131 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07596/3.486, allocations: 42.33 MB / 1.516 GB, free: 89.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/3.486, allocations: 186.5 kB / 1.516 GB, free: 89.28 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.504/6.99, allocations: 4 kB / 1.516 GB, free: 89.28 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)