Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8819/0.8819, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 221.3 MB / 400.4 MB, free: 5.809 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 89.97 kB / 483.3 MB, free: 5.844 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.405e-05/6.423e-05, allocations: 3.969 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.205, allocations: 82.31 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.489/1.694, allocations: 388 MB / 1.019 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/1.694, allocations: 99.61 kB / 1.02 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.241/4.936, allocations: 0.8099 GB / 1.829 GB, free: 77.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.234e-06/4.936, allocations: 0 / 1.829 GB, free: 77.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004331/4.936, allocations: 61.31 kB / 1.829 GB, free: 77.4 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.00706/4.944, allocations: 2.169 MB / 1.832 GB, free: 76.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/4.944, allocations: 11.88 kB / 1.832 GB, free: 76.54 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007554/4.944, allocations: 199.5 kB / 1.832 GB, free: 76.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/4.946, allocations: 266.8 kB / 1.832 GB, free: 76.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05532/5.001, allocations: 24.72 MB / 1.856 GB, free: 75.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/5.002, allocations: 107.2 kB / 1.856 GB, free: 75.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006153/5.002, allocations: 145.3 kB / 1.856 GB, free: 75.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004006/5.006, allocations: 1.397 MB / 1.858 GB, free: 74.94 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.626e-05/5.006, allocations: 7.562 kB / 1.858 GB, free: 74.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002739/5.007, allocations: 58.28 kB / 1.858 GB, free: 74.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.813e-05/5.007, allocations: 38.38 kB / 1.858 GB, free: 74.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/5.009, allocations: 0.9534 MB / 1.859 GB, free: 74.92 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.009263/5.018, allocations: 7.57 MB / 1.866 GB, free: 70.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000759/5.019, allocations: 442.5 kB / 1.867 GB, free: 70.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/5.019, allocations: 298.9 kB / 1.867 GB, free: 70.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006872/5.02, allocations: 1.159 MB / 1.868 GB, free: 69.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/5.02, allocations: 41.72 kB / 1.868 GB, free: 69.31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 2.996e-06/5.02, allocations: 0 / 1.868 GB, free: 69.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.00131/5.021, allocations: 0.6471 MB / 1.869 GB, free: 69.17 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/5.021, allocations: 60.28 kB / 1.869 GB, free: 69.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/5.023, allocations: 1.524 MB / 1.87 GB, free: 68.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/5.023, allocations: 40.08 kB / 1.87 GB, free: 68.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006531/5.024, allocations: 0.9502 MB / 1.871 GB, free: 68.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/5.024, allocations: 212 kB / 1.871 GB, free: 68.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/5.024, allocations: 19.16 kB / 1.871 GB, free: 68.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.524e-05/5.024, allocations: 340.3 kB / 1.872 GB, free: 68.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/5.025, allocations: 231.9 kB / 1.872 GB, free: 68.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005541/5.025, allocations: 0.6067 MB / 1.873 GB, free: 67.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/5.026, allocations: 350.1 kB / 1.873 GB, free: 67.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/5.026, allocations: 0 / 1.873 GB, free: 67.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001446/5.027, allocations: 0.9866 MB / 1.874 GB, free: 67.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/5.027, allocations: 15.17 kB / 1.874 GB, free: 67.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/5.027, allocations: 13.03 kB / 1.874 GB, free: 67.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.241e-05/5.027, allocations: 17.84 kB / 1.874 GB, free: 67.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007555/5.028, allocations: 226.4 kB / 1.874 GB, free: 67.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/5.028, allocations: 21.72 kB / 1.874 GB, free: 67.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/5.03, allocations: 241.3 kB / 1.874 GB, free: 67.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.734e-05/5.03, allocations: 48.72 kB / 1.874 GB, free: 67.43 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * 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.0002065/5.03, allocations: 167.9 kB / 1.875 GB, free: 67.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/5.03, allocations: 189 kB / 1.875 GB, free: 67.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/5.032, allocations: 0.8001 MB / 1.876 GB, free: 67.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/5.032, allocations: 3.938 kB / 1.876 GB, free: 67.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/5.032, allocations: 0 / 1.876 GB, free: 67.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007828/5.033, allocations: 0.7125 MB / 1.876 GB, free: 66.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003711/5.036, allocations: 2.374 MB / 1.879 GB, free: 66.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/5.036, allocations: 3.844 kB / 1.879 GB, free: 66.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006924/5.037, allocations: 186.6 kB / 1.879 GB, free: 66.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/5.037, allocations: 6.812 kB / 1.879 GB, free: 66.44 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.196e-05/5.037, allocations: 16.25 kB / 1.879 GB, free: 66.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/5.037, allocations: 3.781 kB / 1.879 GB, free: 66.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/5.037, allocations: 7.625 kB / 1.879 GB, free: 66.44 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/5.039, allocations: 1.388 MB / 1.88 GB, free: 65.92 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009074/5.04, allocations: 399.8 kB / 1.881 GB, free: 65.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/5.04, allocations: 18.06 kB / 1.881 GB, free: 65.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/5.041, allocations: 129.3 kB / 1.881 GB, free: 65.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/5.041, allocations: 55.27 kB / 1.881 GB, free: 65.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.196e-05/5.041, allocations: 34.52 kB / 1.881 GB, free: 65.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001691/5.043, allocations: 1.211 MB / 1.882 GB, free: 65.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.71e-07/5.043, allocations: 0 / 1.882 GB, free: 65.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002393/5.045, allocations: 0.6912 MB / 1.883 GB, free: 65.45 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003762/5.049, allocations: 3.29 MB / 1.886 GB, free: 63.78 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001133/5.05, allocations: 0.6468 MB / 1.886 GB, free: 63.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/5.05, allocations: 3.562 kB / 1.886 GB, free: 63.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004278/5.051, allocations: 316.7 kB / 1.887 GB, free: 63.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006619/5.057, allocations: 1.241 MB / 1.888 GB, free: 63.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006089/5.064, allocations: 2.853 MB / 1.891 GB, free: 62.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008675/5.064, allocations: 1.443 MB / 1.892 GB, free: 62.17 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001862/5.066, allocations: 393.9 kB / 1.893 GB, free: 62.15 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009208/5.067, allocations: 0.759 MB / 1.893 GB, free: 62.14 MB / 0.698 GB Notification: Performance of SimCode: time 1.683e-06/5.067, allocations: 0 / 1.893 GB, free: 62.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1176/5.185, allocations: 63.39 MB / 1.955 GB, free: 55 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/5.185, allocations: 197.2 kB / 1.955 GB, free: 54.78 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.408/9.593, allocations: 2.812 kB / 1.955 GB, free: 54.78 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)