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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001024/0.001024, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.2 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7733/0.7733, allocations: 132.3 MB / 423.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003015, allocations: 8 kB / 0.5035 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4176, allocations: 81.57 MB / 0.5832 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03107/0.4487, allocations: 26.25 MB / 0.6088 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.4591, allocations: 7.388 MB / 0.616 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.4605, allocations: 29.59 kB / 0.616 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.4617, allocations: 284.9 kB / 0.6163 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.4644, allocations: 0.8065 MB / 0.6171 GB, free: 10 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00278/0.4672, allocations: 0.7815 MB / 0.6179 GB, free: 9.453 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007565/0.4748, allocations: 5.249 MB / 0.623 GB, free: 6.352 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003512/0.4784, allocations: 1.612 MB / 0.6246 GB, free: 5.457 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003918/0.4823, allocations: 1.312 MB / 0.6258 GB, free: 4.742 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002894/0.4852, allocations: 1.237 MB / 0.627 GB, free: 3.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005185/0.4858, allocations: 80 kB / 0.6271 GB, free: 3.422 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003266/0.4891, allocations: 0.9827 MB / 0.6281 GB, free: 2.438 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006895/0.4898, allocations: 362.5 kB / 0.6284 GB, free: 2.082 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009447/0.4907, allocations: 424.7 kB / 0.6288 GB, free: 1.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003582/0.4943, allocations: 2.817 MB / 0.6316 GB, free: 14.84 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4943, allocations: 4 kB / 0.6316 GB, free: 14.83 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4943, allocations: 0 / 0.6316 GB, free: 14.83 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001221/0.4945, allocations: 0 / 0.6316 GB, free: 14.83 MB / 478.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.004809/0.4993, allocations: 2.156 MB / 0.6337 GB, free: 12.62 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.4994, allocations: 8.031 kB / 0.6337 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005549/0.4999, allocations: 222.7 kB / 0.6339 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009691/0.5009, allocations: 229.5 kB / 0.6341 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003364/0.5043, allocations: 1.729 MB / 0.6358 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.977e-05/0.5044, allocations: 110.7 kB / 0.6359 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003614/0.5048, allocations: 152 kB / 0.6361 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003594/0.5084, allocations: 1.986 MB / 0.638 GB, free: 8.07 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.664e-05/0.5084, allocations: 0 / 0.638 GB, free: 8.07 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.5086, allocations: 60 kB / 0.6381 GB, free: 8.012 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.955e-05/0.5087, allocations: 47.88 kB / 0.6381 GB, free: 7.965 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002943/0.5116, allocations: 1.782 MB / 0.6399 GB, free: 6.176 MB / 478.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.01194/0.5236, allocations: 7.625 MB / 0.6473 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.5256, allocations: 1.432 MB / 0.6487 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009429/0.5265, allocations: 0.6644 MB / 0.6493 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006406/0.533, allocations: 3.838 MB / 0.6531 GB, free: 7.965 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.533, allocations: 43.5 kB / 0.6531 GB, free: 7.914 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 2.475e-06/0.533, allocations: 1.203 kB / 0.6531 GB, free: 7.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.002501/0.5355, allocations: 1.51 MB / 0.6546 GB, free: 6.406 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.5356, allocations: 60.41 kB / 0.6547 GB, free: 6.336 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/0.5379, allocations: 1.594 MB / 0.6562 GB, free: 4.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.5381, allocations: 45.7 kB / 0.6563 GB, free: 4.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006794/0.5388, allocations: 0.7575 MB / 0.657 GB, free: 3.914 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/0.5391, allocations: 315.5 kB / 0.6573 GB, free: 3.602 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-05/0.5392, allocations: 27.94 kB / 0.6573 GB, free: 3.574 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5394, allocations: 369.9 kB / 0.6577 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.5404, allocations: 0.6753 MB / 0.6583 GB, free: 2.531 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.5417, allocations: 1.016 MB / 0.6593 GB, free: 1.387 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.5429, allocations: 0.8727 MB / 0.6602 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.543, allocations: 4 kB / 0.6602 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003112/0.5461, allocations: 1.931 MB / 0.6621 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000236/0.5463, allocations: 361.6 kB / 0.6624 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.5464, allocations: 11.98 kB / 0.6624 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.703e-05/0.5464, allocations: 16 kB / 0.6625 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.5476, allocations: 335.5 kB / 0.6628 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.39e-05/0.5476, allocations: 27.88 kB / 0.6628 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.5489, allocations: 214.1 kB / 0.663 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.5491, allocations: 60 kB / 0.6631 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.5491, allocations: 4 kB / 0.6631 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00258/0.5517, allocations: 1.787 MB / 0.6648 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.5517, allocations: 8 kB / 0.6648 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.5517, allocations: 16 kB / 0.6648 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.5528, allocations: 339.4 kB / 0.6652 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.228e-05/0.5529, allocations: 23.92 kB / 0.6652 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.5541, allocations: 187 kB / 0.6654 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.5543, allocations: 56 kB / 0.6654 GB, free: 11.03 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.001134/0.5554, allocations: 0.7634 MB / 0.6662 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004552/0.5559, allocations: 150.1 kB / 0.6663 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.558, allocations: 1.279 MB / 0.6675 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.558, allocations: 11.94 kB / 0.6676 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.558, allocations: 4 kB / 0.6676 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001409/0.5595, allocations: 1.284 MB / 0.6688 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004577/0.564, allocations: 2.932 MB / 0.6717 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.5641, allocations: 0 / 0.6717 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007653/0.5648, allocations: 183.8 kB / 0.6719 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-05/0.5649, allocations: 12.12 kB / 0.6719 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.04e-05/0.565, allocations: 23.98 kB / 0.6719 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/0.565, allocations: 4 kB / 0.6719 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.565, allocations: 3.938 kB / 0.6719 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/0.5676, allocations: 1.909 MB / 0.6738 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009699/0.5686, allocations: 426.8 kB / 0.6742 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004256/0.5691, allocations: 23.98 kB / 0.6742 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.5701, allocations: 75.77 kB / 0.6743 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.671e-05/0.5702, allocations: 48.88 kB / 0.6743 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.164e-05/0.5703, allocations: 43.91 kB / 0.6744 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001949/0.5723, allocations: 1.195 MB / 0.6755 GB, free: 452 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5723, allocations: 0 / 0.6755 GB, free: 452 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002949/0.5753, allocations: 0.9045 MB / 0.6764 GB, free: 15.54 MB / 0.5137 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.003524/0.5788, allocations: 2.691 MB / 0.679 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003718/0.5825, allocations: 2.306 MB / 0.6813 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.5826, allocations: 0 / 0.6813 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007196/0.5833, allocations: 0.517 MB / 0.6818 GB, free: 10 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004185/0.5875, allocations: 0.8694 MB / 0.6826 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02634/0.6138, allocations: 12.46 MB / 0.6948 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/0.6154, allocations: 1.682 MB / 0.6964 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003066/0.6185, allocations: 0.909 MB / 0.6973 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/0.6196, allocations: 0.6203 MB / 0.6979 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of SimCode: time 8.82e-07/0.6197, allocations: 0 / 0.6979 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07661/0.6963, allocations: 49.41 MB / 0.7462 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.6965, allocations: 236.9 kB / 0.7464 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.842/3.539, allocations: 4 kB / 0.7464 GB, free: 7.918 MB / 0.5762 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) Environment - environmentSimulation: