Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="IBPSA_latest_IBPSA_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.0007373/0.0007373, allocations: 93.25 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007329/0.0007329, allocations: 174.7 kB / 16.58 MB, free: 6.016 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.151/1.151, allocations: 223.3 MB / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5889/0.5889, allocations: 113.7 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002521/0.0002521, allocations: 8 kB / 493.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1107, allocations: 77.12 MB / 0.5569 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02156/0.1323, allocations: 26.23 MB / 0.5825 GB, free: 1.324 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2149/0.3473, allocations: 7.37 MB / 0.5897 GB, free: 11.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007129/0.348, allocations: 30.78 kB / 0.5897 GB, free: 11.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006955/0.3487, allocations: 285.8 kB / 0.59 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001625/0.3504, allocations: 0.8076 MB / 0.5908 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.3523, allocations: 0.7793 MB / 0.5916 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004815/0.3571, allocations: 5.262 MB / 0.5967 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002045/0.3592, allocations: 1.616 MB / 0.5983 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/0.3614, allocations: 1.31 MB / 0.5996 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.363, allocations: 1.225 MB / 0.6007 GB, free: 9.922 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.3632, allocations: 79.47 kB / 0.6008 GB, free: 9.922 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.3656, allocations: 0.9837 MB / 0.6018 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003894/0.366, allocations: 359.1 kB / 0.6021 GB, free: 9.789 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005049/0.3666, allocations: 422.8 kB / 0.6025 GB, free: 9.695 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002502/0.3691, allocations: 2.828 MB / 0.6053 GB, free: 9.516 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3691, allocations: 1.5 kB / 0.6053 GB, free: 9.516 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3691, allocations: 0 / 0.6053 GB, free: 9.516 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.662e-05/0.3691, allocations: 3.938 kB / 0.6053 GB, free: 9.512 MB / 446.1 MB 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.003569/0.3727, allocations: 2.161 MB / 0.6074 GB, free: 24.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3727, allocations: 10.31 kB / 0.6074 GB, free: 24.46 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002432/0.373, allocations: 211.9 kB / 0.6076 GB, free: 24.42 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006168/0.3736, allocations: 237.4 kB / 0.6078 GB, free: 24.31 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/0.3759, allocations: 1.728 MB / 0.6095 GB, free: 23.71 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.157e-05/0.376, allocations: 111.5 kB / 0.6096 GB, free: 23.71 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.3762, allocations: 149.3 kB / 0.6098 GB, free: 23.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/0.3788, allocations: 1.991 MB / 0.6117 GB, free: 22.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.3789, allocations: 11.12 kB / 0.6117 GB, free: 22.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/0.379, allocations: 56.66 kB / 0.6118 GB, free: 22.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.516e-05/0.3791, allocations: 40.33 kB / 0.6118 GB, free: 22.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.3813, allocations: 1.792 MB / 0.6136 GB, free: 22 MB / 462.1 MB 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.008063/0.3894, allocations: 7.613 MB / 0.621 GB, free: 16.3 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.3907, allocations: 1.451 MB / 0.6224 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006624/0.3914, allocations: 0.6587 MB / 0.6231 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004974/0.3964, allocations: 3.838 MB / 0.6268 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.3964, allocations: 38.97 kB / 0.6269 GB, free: 11.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=88): time 2.405e-06/0.3964, allocations: 0 / 0.6269 GB, free: 11.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.001961/0.3984, allocations: 1.511 MB / 0.6283 GB, free: 11.18 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.3985, allocations: 62.88 kB / 0.6284 GB, free: 11.11 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.4002, allocations: 1.6 MB / 0.63 GB, free: 10.24 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.7e-05/0.4003, allocations: 45.05 kB / 0.63 GB, free: 10.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005553/0.4009, allocations: 0.7532 MB / 0.6307 GB, free: 9.539 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.4011, allocations: 317.4 kB / 0.631 GB, free: 9.273 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.4012, allocations: 26.06 kB / 0.6311 GB, free: 9.254 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4013, allocations: 365.9 kB / 0.6314 GB, free: 8.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008443/0.4022, allocations: 0.6786 MB / 0.6321 GB, free: 8.555 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.4033, allocations: 1.015 MB / 0.6331 GB, free: 7.418 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.4044, allocations: 0.8665 MB / 0.6339 GB, free: 6.555 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.4044, allocations: 7.953 kB / 0.6339 GB, free: 6.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002582/0.407, allocations: 1.931 MB / 0.6358 GB, free: 4.605 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001981/0.4072, allocations: 362.8 kB / 0.6362 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.4072, allocations: 10.62 kB / 0.6362 GB, free: 4.117 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.4072, allocations: 20 kB / 0.6362 GB, free: 4.098 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.4083, allocations: 335.5 kB / 0.6365 GB, free: 3.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.189e-05/0.4084, allocations: 19.94 kB / 0.6365 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.4095, allocations: 214.1 kB / 0.6367 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.4096, allocations: 59.98 kB / 0.6368 GB, free: 3.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.4096, allocations: 9.812 kB / 0.6368 GB, free: 3.473 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002334/0.4119, allocations: 1.787 MB / 0.6385 GB, free: 1.684 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.412, allocations: 11.95 kB / 0.6385 GB, free: 1.672 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.412, allocations: 19.94 kB / 0.6386 GB, free: 1.652 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.413, allocations: 335.5 kB / 0.6389 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/0.4131, allocations: 19.94 kB / 0.6389 GB, free: 1.305 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.4141, allocations: 187 kB / 0.6391 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.4142, allocations: 59.98 kB / 0.6391 GB, free: 1.062 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001088/0.4153, allocations: 0.7548 MB / 0.6399 GB, free: 304 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002791/0.4156, allocations: 150.1 kB / 0.64 GB, free: 152 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.4175, allocations: 1.287 MB / 0.6413 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.4176, allocations: 8 kB / 0.6413 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4176, allocations: 8 kB / 0.6413 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001345/0.4189, allocations: 1.281 MB / 0.6425 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003913/0.4228, allocations: 2.934 MB / 0.6454 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.4229, allocations: 0 / 0.6454 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007388/0.4236, allocations: 191.7 kB / 0.6456 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.4236, allocations: 8.125 kB / 0.6456 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.509e-05/0.4237, allocations: 22.69 kB / 0.6456 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.4237, allocations: 8 kB / 0.6456 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4237, allocations: 3.984 kB / 0.6456 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/0.4261, allocations: 1.909 MB / 0.6475 GB, free: 8.348 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008151/0.4269, allocations: 426.7 kB / 0.6479 GB, free: 7.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.4271, allocations: 24 kB / 0.6479 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007464/0.4279, allocations: 79.27 kB / 0.648 GB, free: 7.812 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.068e-05/0.428, allocations: 52.92 kB / 0.6481 GB, free: 7.762 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.939e-05/0.4281, allocations: 35.97 kB / 0.6481 GB, free: 7.727 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001711/0.4298, allocations: 1.195 MB / 0.6493 GB, free: 6.535 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4298, allocations: 0 / 0.6493 GB, free: 6.535 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002391/0.4322, allocations: 0.9045 MB / 0.6501 GB, free: 5.629 MB / 478.1 MB 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 (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.003135/0.4353, allocations: 2.699 MB / 0.6528 GB, free: 2.914 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003097/0.4385, allocations: 2.313 MB / 0.655 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4385, allocations: 4 kB / 0.655 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006392/0.4391, allocations: 0.5131 MB / 0.6555 GB, free: 96 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003298/0.4424, allocations: 0.8566 MB / 0.6564 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02295/0.4654, allocations: 12.46 MB / 0.6685 GB, free: 2.359 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.4666, allocations: 1.686 MB / 0.6702 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002365/0.469, allocations: 0.9217 MB / 0.6711 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008452/0.4698, allocations: 0.6164 MB / 0.6717 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.4698, allocations: 0 / 0.6717 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06339/0.5332, allocations: 49.43 MB / 0.72 GB, free: 14.27 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/0.5335, allocations: 241.6 kB / 0.7202 GB, free: 14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/2.884, allocations: 7 kB / 0.7202 GB, free: 13.99 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) Environment - environmentSimulation: