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.01235/0.01235, allocations: 99.77 kB / 15.73 MB, free: 6.043 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.002172/0.002172, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.529/2.529, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.477/1.477, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 71.89 kB / 0.5809 GB, free: 8.047 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7498/0.7512, allocations: 80.2 MB / 0.6592 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.05131/0.8026, allocations: 28.56 MB / 0.6871 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02057/0.8233, allocations: 7.895 MB / 0.6948 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002761/0.8261, allocations: 37.75 kB / 0.6948 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.8284, allocations: 409.6 kB / 0.6952 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005274/0.8337, allocations: 0.9994 MB / 0.6962 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005109/0.8388, allocations: 1.083 MB / 0.6972 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009953/0.8488, allocations: 4.899 MB / 0.702 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005124/0.854, allocations: 2.29 MB / 0.7043 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006999/0.8611, allocations: 1.829 MB / 0.706 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004384/0.8655, allocations: 1.447 MB / 0.7075 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009094/0.8664, allocations: 236 kB / 0.7077 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005095/0.8715, allocations: 1.314 MB / 0.709 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001247/0.8728, allocations: 0.5491 MB / 0.7095 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003048/0.8759, allocations: 1.159 MB / 0.7106 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008355/0.8843, allocations: 3.693 MB / 0.7142 GB, free: 13.64 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.8843, allocations: 0 / 0.7142 GB, free: 13.64 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.005e-06/0.8843, allocations: 0 / 0.7142 GB, free: 13.64 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001029/0.8845, allocations: 0 / 0.7142 GB, free: 13.64 MB / 0.545 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.009771/0.8942, allocations: 2.569 MB / 0.7168 GB, free: 11.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 9.532e-05/0.8944, allocations: 8.031 kB / 0.7168 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005377/0.8949, allocations: 214.9 kB / 0.717 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.8965, allocations: 230.5 kB / 0.7172 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005082/0.9016, allocations: 1.808 MB / 0.719 GB, free: 8.703 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.9017, allocations: 114.7 kB / 0.7191 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003997/0.9021, allocations: 156 kB / 0.7192 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005174/0.9073, allocations: 2.001 MB / 0.7212 GB, free: 6.371 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.742e-05/0.9074, allocations: 3.938 kB / 0.7212 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002246/0.9076, allocations: 60 kB / 0.7212 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.715e-05/0.9077, allocations: 39.98 kB / 0.7213 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004568/0.9123, allocations: 1.798 MB / 0.723 GB, free: 4.465 MB / 0.545 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.01858/0.9309, allocations: 7.59 MB / 0.7304 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003073/0.934, allocations: 1.449 MB / 0.7318 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.9355, allocations: 0.6653 MB / 0.7325 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/0.9459, allocations: 3.846 MB / 0.7363 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.891e-05/0.946, allocations: 47.56 kB / 0.7363 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 5.771e-06/0.9461, allocations: 4 kB / 0.7363 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.00416/0.9502, allocations: 1.51 MB / 0.7378 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.9503, allocations: 60.41 kB / 0.7378 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003637/0.954, allocations: 1.645 MB / 0.7394 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002207/0.9542, allocations: 49.7 kB / 0.7395 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009998/0.9552, allocations: 0.7497 MB / 0.7402 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004967/0.9557, allocations: 323.4 kB / 0.7405 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006856/0.9564, allocations: 291.4 kB / 0.7408 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002334/0.9567, allocations: 365.9 kB / 0.7412 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.9584, allocations: 0.6917 MB / 0.7418 GB, free: 492 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/0.9605, allocations: 1.028 MB / 0.7428 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003559/0.9641, allocations: 1.616 MB / 0.7444 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.9642, allocations: 4 kB / 0.7444 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005563/0.9697, allocations: 1.959 MB / 0.7463 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.9698, allocations: 8 kB / 0.7463 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.9698, allocations: 8 kB / 0.7463 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.697e-05/0.9699, allocations: 16 kB / 0.7464 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/0.972, allocations: 331.5 kB / 0.7467 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-05/0.9721, allocations: 23.92 kB / 0.7467 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/0.9744, allocations: 202.1 kB / 0.7469 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/0.9746, allocations: 59.98 kB / 0.7469 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003094/0.9777, allocations: 1.285 MB / 0.7482 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002073/0.9798, allocations: 1.016 MB / 0.7492 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003347/0.9832, allocations: 1.62 MB / 0.7508 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.786e-06/0.9832, allocations: 11.94 kB / 0.7508 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.005083/0.9883, allocations: 1.943 MB / 0.7527 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.9883, allocations: 8.938 kB / 0.7527 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.9884, allocations: 8 kB / 0.7527 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.9e-05/0.9884, allocations: 16 kB / 0.7527 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/0.9906, allocations: 339.4 kB / 0.753 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.754e-05/0.9906, allocations: 23.92 kB / 0.7531 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/0.9927, allocations: 150.9 kB / 0.7532 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/0.9929, allocations: 59.98 kB / 0.7533 GB, free: 4.238 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004943/0.9934, allocations: 255.8 kB / 0.7535 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005823/0.994, allocations: 154.1 kB / 0.7537 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/0.9972, allocations: 1.283 MB / 0.7549 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/0.9972, allocations: 8 kB / 0.7549 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.9973, allocations: 3.984 kB / 0.7549 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00234/0.9996, allocations: 1.284 MB / 0.7562 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007107/1.007, allocations: 2.963 MB / 0.7591 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/1.007, allocations: 0 / 0.7591 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/1.008, allocations: 183.8 kB / 0.7592 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.915e-05/1.008, allocations: 8 kB / 0.7593 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/1.008, allocations: 27.92 kB / 0.7593 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.159e-05/1.008, allocations: 4 kB / 0.7593 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.008, allocations: 0 / 0.7593 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004487/1.013, allocations: 1.917 MB / 0.7612 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.014, allocations: 402.9 kB / 0.7615 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003667/1.015, allocations: 27.84 kB / 0.7616 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/1.016, allocations: 47.94 kB / 0.7616 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/1.016, allocations: 56.88 kB / 0.7617 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/1.016, allocations: 39.97 kB / 0.7617 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002862/1.019, allocations: 1.23 MB / 0.7629 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.148e-06/1.019, allocations: 0 / 0.7629 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003958/1.023, allocations: 0.924 MB / 0.7638 GB, free: 9.211 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005787/1.029, allocations: 2.718 MB / 0.7665 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006099/1.035, allocations: 2.333 MB / 0.7687 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/1.035, allocations: 0 / 0.7687 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001202/1.036, allocations: 0.517 MB / 0.7692 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006796/1.043, allocations: 0.9223 MB / 0.7701 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04093/1.084, allocations: 15.07 MB / 0.7849 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002234/1.086, allocations: 1.686 MB / 0.7865 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004327/1.091, allocations: 0.9201 MB / 0.7874 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001815/1.093, allocations: 0.6242 MB / 0.788 GB, free: 60 kB / 0.6075 GB Notification: Performance of SimCode: time 2.114e-06/1.093, allocations: 0 / 0.788 GB, free: 60 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1533/1.246, allocations: 50.1 MB / 0.8369 GB, free: 14.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.97/19.21, allocations: 13.72 kB / 0.837 GB, free: 14.5 MB / 0.67 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/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)