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.001694/0.001694, allocations: 97.44 kB / 15.69 MB, free: 488 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.003781/0.00378, allocations: 173.9 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.855/2.855, allocations: 223.2 MB / 240.5 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.124/1.124, allocations: 113.7 MB / 405.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007279/0.0007284, allocations: 8.625 kB / 493 MB, free: 8.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.326, allocations: 77.11 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.06511/0.3912, allocations: 23.95 MB / 0.5801 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.8603/1.252, allocations: 6.848 MB / 0.5868 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002982/1.255, allocations: 28.12 kB / 0.5868 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003408/1.258, allocations: 393.2 kB / 0.5872 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008317/1.267, allocations: 1.032 MB / 0.5882 GB, free: 11.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008537/1.275, allocations: 1.097 MB / 0.5893 GB, free: 11.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01123/1.286, allocations: 2.727 MB / 0.5919 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006796/1.293, allocations: 1.616 MB / 0.5935 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007585/1.301, allocations: 1.17 MB / 0.5947 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005569/1.307, allocations: 0.932 MB / 0.5956 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009998/1.308, allocations: 79.97 kB / 0.5956 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00721/1.315, allocations: 0.8482 MB / 0.5965 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00202/1.317, allocations: 348.5 kB / 0.5968 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002707/1.32, allocations: 428 kB / 0.5972 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01236/1.332, allocations: 2.763 MB / 0.5999 GB, free: 11.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/1.332, allocations: 0 / 0.5999 GB, free: 11.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.783e-06/1.332, allocations: 4 kB / 0.5999 GB, free: 11.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000221/1.333, allocations: 1.062 kB / 0.5999 GB, free: 11.03 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.016/1.349, allocations: 2.14 MB / 0.602 GB, free: 25.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001102/1.349, allocations: 12.75 kB / 0.602 GB, free: 25.99 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002432/1.351, allocations: 214.8 kB / 0.6022 GB, free: 25.94 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002995/1.354, allocations: 235.2 kB / 0.6025 GB, free: 25.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008807/1.363, allocations: 1.634 MB / 0.604 GB, free: 25.45 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004884/1.364, allocations: 110.4 kB / 0.6042 GB, free: 25.44 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0019/1.366, allocations: 161.2 kB / 0.6043 GB, free: 25.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/1.376, allocations: 1.977 MB / 0.6062 GB, free: 25.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-05/1.376, allocations: 1.531 kB / 0.6062 GB, free: 25.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003563/1.377, allocations: 58.53 kB / 0.6063 GB, free: 25.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/1.377, allocations: 39.55 kB / 0.6063 GB, free: 25.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007455/1.384, allocations: 1.787 MB / 0.6081 GB, free: 25.15 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.03204/1.417, allocations: 7.703 MB / 0.6156 GB, free: 20.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005522/1.422, allocations: 1.45 MB / 0.617 GB, free: 19.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01748/1.44, allocations: 3.882 MB / 0.6208 GB, free: 16.76 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/1.44, allocations: 48.8 kB / 0.6209 GB, free: 16.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=88): time 1.073e-05/1.44, allocations: 0 / 0.6209 GB, free: 16.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.005562/1.445, allocations: 1.509 MB / 0.6223 GB, free: 15.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.485e-05/1.446, allocations: 61.22 kB / 0.6224 GB, free: 15.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005421/1.451, allocations: 1.681 MB / 0.624 GB, free: 14.99 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008341/1.452, allocations: 48.02 kB / 0.6241 GB, free: 14.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/1.454, allocations: 0.7605 MB / 0.6248 GB, free: 14.29 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009709/1.455, allocations: 317.6 kB / 0.6251 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/1.455, allocations: 25.31 kB / 0.6251 GB, free: 14 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0004429/1.455, allocations: 362.1 kB / 0.6255 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002411/1.458, allocations: 0.6741 MB / 0.6261 GB, free: 13.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002964/1.461, allocations: 1.006 MB / 0.6271 GB, free: 12.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002665/1.463, allocations: 0.8707 MB / 0.628 GB, free: 12.08 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/1.463, allocations: 6.281 kB / 0.628 GB, free: 12.08 MB / 462.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.007447/1.471, allocations: 1.952 MB / 0.6299 GB, free: 11.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.005268/1.476, allocations: 3.533 MB / 0.6333 GB, free: 7.324 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.697e-05/1.476, allocations: 7.938 kB / 0.6333 GB, free: 7.324 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-05/1.476, allocations: 17.56 kB / 0.6334 GB, free: 7.324 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003699/1.48, allocations: 338.3 kB / 0.6337 GB, free: 7.246 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.271e-05/1.48, allocations: 25.86 kB / 0.6337 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004842/1.485, allocations: 219.9 kB / 0.6339 GB, free: 7.094 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007101/1.486, allocations: 61.33 kB / 0.634 GB, free: 7.078 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/1.486, allocations: 3.406 kB / 0.634 GB, free: 7.078 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006735/1.493, allocations: 1.785 MB / 0.6357 GB, free: 5.359 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.599e-05/1.493, allocations: 8 kB / 0.6357 GB, free: 5.352 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.027e-05/1.493, allocations: 16 kB / 0.6357 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002533/1.495, allocations: 348.3 kB / 0.6361 GB, free: 4.996 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.944e-05/1.496, allocations: 26.66 kB / 0.6361 GB, free: 4.973 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003455/1.499, allocations: 197.1 kB / 0.6363 GB, free: 4.781 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002807/1.499, allocations: 59.98 kB / 0.6363 GB, free: 4.723 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.003711/1.503, allocations: 0.7548 MB / 0.6371 GB, free: 3.957 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/1.504, allocations: 150.1 kB / 0.6372 GB, free: 3.809 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004747/1.509, allocations: 1.284 MB / 0.6385 GB, free: 2.535 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.494e-05/1.509, allocations: 12 kB / 0.6385 GB, free: 2.523 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/1.509, allocations: 0 / 0.6385 GB, free: 2.523 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003062/1.512, allocations: 1.284 MB / 0.6397 GB, free: 1.164 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/1.524, allocations: 2.964 MB / 0.6426 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/1.524, allocations: 0 / 0.6426 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/1.526, allocations: 187.7 kB / 0.6428 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.861e-05/1.526, allocations: 4 kB / 0.6428 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/1.526, allocations: 20 kB / 0.6428 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-05/1.526, allocations: 7.953 kB / 0.6429 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.526, allocations: 3.984 kB / 0.6429 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006065/1.532, allocations: 1.973 MB / 0.6448 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002518/1.534, allocations: 446.7 kB / 0.6452 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008823/1.535, allocations: 24 kB / 0.6452 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/1.538, allocations: 69.38 kB / 0.6453 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/1.538, allocations: 60.92 kB / 0.6454 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/1.538, allocations: 31.97 kB / 0.6454 GB, free: 11.24 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003973/1.542, allocations: 1.265 MB / 0.6466 GB, free: 9.98 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.21e-07/1.542, allocations: 0 / 0.6466 GB, free: 9.98 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007561/1.55, allocations: 0.9201 MB / 0.6475 GB, free: 9.059 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.007827/1.557, allocations: 3.041 MB / 0.6505 GB, free: 5.996 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007792/1.565, allocations: 2.3 MB / 0.6527 GB, free: 3.703 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-05/1.565, allocations: 8 kB / 0.6527 GB, free: 3.695 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001575/1.567, allocations: 0.5109 MB / 0.6532 GB, free: 3.184 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008723/1.576, allocations: 0.8657 MB / 0.6541 GB, free: 2.332 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02748/1.603, allocations: 11.54 MB / 0.6654 GB, free: 6.543 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003385/1.607, allocations: 1.713 MB / 0.667 GB, free: 4.797 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004992/1.612, allocations: 0.9159 MB / 0.6679 GB, free: 3.887 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001916/1.614, allocations: 0.6164 MB / 0.6685 GB, free: 3.27 MB / 494.1 MB Notification: Performance of SimCode: time 2.384e-06/1.614, allocations: 0 / 0.6685 GB, free: 3.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1424/1.756, allocations: 49.14 MB / 0.7165 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002792/1.757, allocations: 245.3 kB / 0.7168 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.388/7.144, allocations: 4.484 kB / 0.7168 GB, free: 2.488 MB / 0.5294 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: