Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_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.001459/0.001458, allocations: 168.8 kB / 12.72 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7469/0.7469, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.542/1.542, allocations: 221.3 MB / 400.4 MB, free: 5.816 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.0009038/0.0009038, allocations: 92.81 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.651e-05/3.654e-05, allocations: 3.688 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1746, allocations: 82.3 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.431/1.606, allocations: 388 MB / 1.019 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/1.606, allocations: 93.3 kB / 1.02 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.202/4.808, allocations: 0.8099 GB / 1.829 GB, free: 77.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.073e-06/4.808, allocations: 0 / 1.829 GB, free: 77.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004441/4.809, allocations: 62.31 kB / 1.829 GB, free: 77.79 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.006857/4.816, allocations: 2.168 MB / 1.832 GB, free: 76.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/4.816, allocations: 7.375 kB / 1.832 GB, free: 76.92 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006828/4.816, allocations: 198.1 kB / 1.832 GB, free: 76.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/4.818, allocations: 264.6 kB / 1.832 GB, free: 76.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05407/4.872, allocations: 24.73 MB / 1.856 GB, free: 75.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/4.872, allocations: 109.7 kB / 1.856 GB, free: 75.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005914/4.873, allocations: 142.2 kB / 1.856 GB, free: 75.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004052/4.877, allocations: 1.391 MB / 1.858 GB, free: 75.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-05/4.877, allocations: 7.844 kB / 1.858 GB, free: 75.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002802/4.877, allocations: 60.64 kB / 1.858 GB, free: 75.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.943e-05/4.877, allocations: 38.62 kB / 1.858 GB, free: 75.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/4.88, allocations: 0.9525 MB / 1.859 GB, free: 75.29 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.01112/4.891, allocations: 7.561 MB / 1.866 GB, free: 71.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009402/4.892, allocations: 448.5 kB / 1.867 GB, free: 71.05 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004612/4.892, allocations: 293.3 kB / 1.867 GB, free: 71.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009209/4.893, allocations: 1.163 MB / 1.868 GB, free: 69.72 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/4.893, allocations: 47.75 kB / 1.868 GB, free: 69.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 3.997e-06/4.893, allocations: 1.688 kB / 1.868 GB, free: 69.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.00162/4.895, allocations: 0.6511 MB / 1.869 GB, free: 69.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/4.895, allocations: 60.97 kB / 1.869 GB, free: 69.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002989/4.898, allocations: 1.523 MB / 1.87 GB, free: 69.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/4.898, allocations: 40.86 kB / 1.87 GB, free: 69.22 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008149/4.899, allocations: 0.9433 MB / 1.871 GB, free: 68.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/4.899, allocations: 215.3 kB / 1.871 GB, free: 68.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/4.899, allocations: 19.19 kB / 1.871 GB, free: 68.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/4.899, allocations: 341.4 kB / 1.872 GB, free: 68.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/4.9, allocations: 234.1 kB / 1.872 GB, free: 68.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006083/4.9, allocations: 0.6082 MB / 1.873 GB, free: 68.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/4.901, allocations: 347.3 kB / 1.873 GB, free: 68.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/4.901, allocations: 2.656 kB / 1.873 GB, free: 68.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00179/4.903, allocations: 0.9871 MB / 1.874 GB, free: 67.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/4.903, allocations: 11.77 kB / 1.874 GB, free: 67.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/4.903, allocations: 11.75 kB / 1.874 GB, free: 67.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.164e-05/4.903, allocations: 18.06 kB / 1.874 GB, free: 67.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007589/4.903, allocations: 231.3 kB / 1.874 GB, free: 67.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.679e-05/4.903, allocations: 19.38 kB / 1.874 GB, free: 67.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/4.905, allocations: 233.5 kB / 1.874 GB, free: 67.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/4.905, allocations: 50.73 kB / 1.874 GB, free: 67.8 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.0002373/4.906, allocations: 172.7 kB / 1.875 GB, free: 67.69 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005406/4.906, allocations: 199.9 kB / 1.875 GB, free: 67.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/4.908, allocations: 0.7875 MB / 1.876 GB, free: 67.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/4.908, allocations: 3.938 kB / 1.876 GB, free: 67.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/4.908, allocations: 3.125 kB / 1.876 GB, free: 67.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000816/4.909, allocations: 0.7073 MB / 1.876 GB, free: 67.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004601/4.913, allocations: 2.381 MB / 1.879 GB, free: 66.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/4.913, allocations: 2.562 kB / 1.879 GB, free: 66.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000687/4.914, allocations: 178.2 kB / 1.879 GB, free: 66.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/4.914, allocations: 5.406 kB / 1.879 GB, free: 66.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/4.914, allocations: 20.69 kB / 1.879 GB, free: 66.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/4.914, allocations: 8.406 kB / 1.879 GB, free: 66.81 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/4.914, allocations: 3.344 kB / 1.879 GB, free: 66.81 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/4.916, allocations: 1.388 MB / 1.88 GB, free: 66.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/4.917, allocations: 396.3 kB / 1.881 GB, free: 66.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005472/4.918, allocations: 17.16 kB / 1.881 GB, free: 66.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/4.919, allocations: 141.1 kB / 1.881 GB, free: 66.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/4.919, allocations: 47.41 kB / 1.881 GB, free: 66.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.692e-05/4.919, allocations: 34.03 kB / 1.881 GB, free: 66.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002048/4.921, allocations: 1.213 MB / 1.882 GB, free: 65.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/4.921, allocations: 0 / 1.882 GB, free: 65.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002773/4.924, allocations: 0.6921 MB / 1.883 GB, free: 65.82 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.004105/4.928, allocations: 3.287 MB / 1.886 GB, free: 64.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001142/4.929, allocations: 0.647 MB / 1.886 GB, free: 64.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/4.929, allocations: 4.344 kB / 1.886 GB, free: 64.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004508/4.93, allocations: 318.3 kB / 1.887 GB, free: 64.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006612/4.937, allocations: 1.234 MB / 1.888 GB, free: 64.13 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007282/4.944, allocations: 2.86 MB / 1.891 GB, free: 63.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/4.945, allocations: 1.449 MB / 1.892 GB, free: 62.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002049/4.947, allocations: 387.8 kB / 1.893 GB, free: 62.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/4.948, allocations: 0.7618 MB / 1.893 GB, free: 62.52 MB / 0.698 GB Notification: Performance of SimCode: time 1.383e-06/4.948, allocations: 1.312 kB / 1.893 GB, free: 62.52 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1145/5.063, allocations: 63.39 MB / 1.955 GB, free: 55.11 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/5.063, allocations: 197.7 kB / 1.955 GB, free: 54.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.391/9.454, allocations: 0 / 1.955 GB, free: 54.88 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)