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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.002181/0.002181, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.52/2.52, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.753/1.753, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004756/0.0004758, allocations: 15.3 kB / 0.5069 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2614, allocations: 82.31 MB / 0.5873 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.3913/0.6528, allocations: 23.95 MB / 0.6107 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01054/0.6634, allocations: 6.85 MB / 0.6174 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.665, allocations: 32.47 kB / 0.6174 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.6666, allocations: 388.2 kB / 0.6178 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003922/0.6705, allocations: 1.027 MB / 0.6188 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004017/0.6746, allocations: 1.092 MB / 0.6198 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004444/0.679, allocations: 2.722 MB / 0.6225 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002404/0.6815, allocations: 1.622 MB / 0.6241 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002817/0.6843, allocations: 1.176 MB / 0.6252 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/0.6863, allocations: 0.9256 MB / 0.6261 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003523/0.6867, allocations: 83.28 kB / 0.6262 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.6894, allocations: 0.8491 MB / 0.627 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004346/0.6899, allocations: 348.4 kB / 0.6274 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008336/0.6907, allocations: 423 kB / 0.6278 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003224/0.6939, allocations: 2.767 MB / 0.6305 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.694, allocations: 0 / 0.6305 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.405e-06/0.694, allocations: 0 / 0.6305 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.403e-05/0.6941, allocations: 0 / 0.6305 GB, free: 31.92 MB / 0.4981 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.004695/0.6988, allocations: 2.13 MB / 0.6326 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.6988, allocations: 8.844 kB / 0.6326 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004379/0.6993, allocations: 212.6 kB / 0.6328 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000878/0.7001, allocations: 237.3 kB / 0.633 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003338/0.7035, allocations: 1.639 MB / 0.6346 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.003e-05/0.7036, allocations: 116.4 kB / 0.6347 GB, free: 29.63 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002835/0.7039, allocations: 152.3 kB / 0.6349 GB, free: 29.58 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003192/0.7071, allocations: 1.975 MB / 0.6368 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.232e-05/0.7072, allocations: 7.156 kB / 0.6368 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.7073, allocations: 62.22 kB / 0.6369 GB, free: 28.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.147e-05/0.7074, allocations: 41.33 kB / 0.6369 GB, free: 28.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002793/0.7102, allocations: 1.788 MB / 0.6386 GB, free: 28.13 MB / 0.4981 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.01282/0.723, allocations: 7.698 MB / 0.6462 GB, free: 23.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/0.7257, allocations: 1.456 MB / 0.6476 GB, free: 23.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008394/0.7341, allocations: 3.878 MB / 0.6514 GB, free: 20.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.7342, allocations: 48.92 kB / 0.6514 GB, free: 20.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 3.777e-06/0.7342, allocations: 0 / 0.6514 GB, free: 20.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.003287/0.7375, allocations: 1.509 MB / 0.6529 GB, free: 20 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.7376, allocations: 60.88 kB / 0.6529 GB, free: 19.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003093/0.7407, allocations: 1.68 MB / 0.6546 GB, free: 19.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002368/0.7409, allocations: 52.14 kB / 0.6546 GB, free: 19.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007903/0.7417, allocations: 0.7513 MB / 0.6554 GB, free: 18.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004136/0.7422, allocations: 317 kB / 0.6557 GB, free: 18.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.7423, allocations: 29.88 kB / 0.6557 GB, free: 18.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.7425, allocations: 364.1 kB / 0.656 GB, free: 18.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.7438, allocations: 0.6815 MB / 0.6567 GB, free: 17.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.7455, allocations: 1.004 MB / 0.6577 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.7472, allocations: 0.8674 MB / 0.6585 GB, free: 16.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.901e-05/0.7472, allocations: 2.594 kB / 0.6585 GB, free: 16.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004132/0.7514, allocations: 1.937 MB / 0.6604 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008595/0.7522, allocations: 3.529 MB / 0.6639 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.439e-05/0.7523, allocations: 8.344 kB / 0.6639 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.367e-05/0.7524, allocations: 17.78 kB / 0.6639 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.7539, allocations: 349.9 kB / 0.6642 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.954e-05/0.7539, allocations: 22.52 kB / 0.6643 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/0.7559, allocations: 225.6 kB / 0.6645 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/0.7561, allocations: 56.75 kB / 0.6645 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.7561, allocations: 6 kB / 0.6645 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003653/0.7598, allocations: 1.787 MB / 0.6663 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.791e-05/0.7599, allocations: 12.34 kB / 0.6663 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.057e-05/0.7599, allocations: 17.12 kB / 0.6663 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.7614, allocations: 346.3 kB / 0.6666 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.579e-05/0.7615, allocations: 20.84 kB / 0.6667 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.7633, allocations: 194.9 kB / 0.6668 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/0.7636, allocations: 61.44 kB / 0.6669 GB, free: 11.51 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001771/0.7653, allocations: 0.7605 MB / 0.6676 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000715/0.7661, allocations: 151.9 kB / 0.6678 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003402/0.7695, allocations: 1.281 MB / 0.669 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/0.7695, allocations: 13.81 kB / 0.6691 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.7695, allocations: 0 / 0.6691 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002461/0.772, allocations: 1.28 MB / 0.6703 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00728/0.7793, allocations: 2.961 MB / 0.6732 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.7794, allocations: 1.125 kB / 0.6732 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008631/0.7802, allocations: 185.6 kB / 0.6734 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.892e-05/0.7803, allocations: 5.375 kB / 0.6734 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-05/0.7804, allocations: 24.33 kB / 0.6734 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.7804, allocations: 4.406 kB / 0.6734 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.7804, allocations: 4.984 kB / 0.6734 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003292/0.7837, allocations: 1.969 MB / 0.6753 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/0.785, allocations: 440.5 kB / 0.6758 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006149/0.7857, allocations: 28.8 kB / 0.6758 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.7871, allocations: 82.39 kB / 0.6759 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.7873, allocations: 49.33 kB / 0.6759 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.7874, allocations: 41.44 kB / 0.6759 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002503/0.7899, allocations: 1.263 MB / 0.6772 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.242e-06/0.7899, allocations: 1.375 kB / 0.6772 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004546/0.7945, allocations: 0.9177 MB / 0.6781 GB, free: 6.516 MB / 0.4981 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 (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.004693/0.7992, allocations: 3.037 MB / 0.681 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00468/0.8039, allocations: 2.31 MB / 0.6833 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.8039, allocations: 1.125 kB / 0.6833 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008762/0.8048, allocations: 0.5189 MB / 0.6838 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005073/0.8099, allocations: 0.8572 MB / 0.6846 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/0.8257, allocations: 11.54 MB / 0.6959 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002857/0.8287, allocations: 1.713 MB / 0.6976 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00491/0.8336, allocations: 0.9188 MB / 0.6985 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001683/0.8354, allocations: 0.6182 MB / 0.6991 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of SimCode: time 1.493e-06/0.8354, allocations: 0 / 0.6991 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.121/0.9564, allocations: 49.12 MB / 0.7471 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003066/0.9568, allocations: 243.7 kB / 0.7473 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.874/5.831, allocations: 3.938 kB / 0.7473 GB, free: 6.961 MB / 0.5606 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) Environment - environmentSimulation: