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: translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.921/0.921, allocations: 133.6 MB / 141.6 MB, free: 2.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.5 MB / 395.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000842/0.000842, allocations: 92.86 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.822e-05/1.824e-05, allocations: 4 kB / 0.5535 GB, free: 9.051 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4915/0.4915, allocations: 82.31 MB / 0.6338 GB, free: 40.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8814/1.373, allocations: 387.4 MB / 1.012 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/1.373, allocations: 91.39 kB / 1.012 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.388/4.761, allocations: 0.8052 GB / 1.817 GB, free: 33.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.134e-06/4.761, allocations: 3.938 kB / 1.817 GB, free: 33.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002416/4.762, allocations: 61.38 kB / 1.817 GB, free: 33.55 MB / 0.6823 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.004771/4.766, allocations: 2.161 MB / 1.82 GB, free: 31.35 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/4.766, allocations: 8.031 kB / 1.82 GB, free: 31.34 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009605/4.767, allocations: 276.7 kB / 1.82 GB, free: 31.07 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04539/4.813, allocations: 24.64 MB / 1.844 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/4.813, allocations: 46.06 kB / 1.844 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005191/4.813, allocations: 84 kB / 1.844 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00239/4.816, allocations: 0.8645 MB / 1.845 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002904/4.819, allocations: 1.199 MB / 1.846 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.208e-05/4.819, allocations: 7.438 kB / 1.846 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/4.819, allocations: 4 kB / 1.846 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.946e-05/4.819, allocations: 43.94 kB / 1.846 GB, free: 4.07 MB / 0.6823 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.0106/4.83, allocations: 7.27 MB / 1.853 GB, free: 12.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008201/4.831, allocations: 424.4 kB / 1.854 GB, free: 11.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003914/4.831, allocations: 262.4 kB / 1.854 GB, free: 11.56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/4.832, allocations: 1.16 MB / 1.855 GB, free: 10.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/4.832, allocations: 43.12 kB / 1.855 GB, free: 10.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 3.577e-06/4.832, allocations: 0 / 1.855 GB, free: 10.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.001885/4.834, allocations: 0.6181 MB / 1.856 GB, free: 9.465 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/4.834, allocations: 59.97 kB / 1.856 GB, free: 9.395 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002547/4.837, allocations: 1.202 MB / 1.857 GB, free: 8.195 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001227/4.837, allocations: 29.7 kB / 1.857 GB, free: 8.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009248/4.838, allocations: 0.9494 MB / 1.858 GB, free: 7.199 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/4.838, allocations: 201 kB / 1.858 GB, free: 7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/4.838, allocations: 4 kB / 1.858 GB, free: 6.996 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001876/4.838, allocations: 341.9 kB / 1.858 GB, free: 6.656 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/4.839, allocations: 218.6 kB / 1.859 GB, free: 6.445 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007291/4.839, allocations: 0.5784 MB / 1.859 GB, free: 5.695 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008931/4.84, allocations: 354.5 kB / 1.859 GB, free: 5.348 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-05/4.84, allocations: 4 kB / 1.859 GB, free: 5.344 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002077/4.842, allocations: 0.8916 MB / 1.86 GB, free: 4.445 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/4.842, allocations: 12.58 kB / 1.86 GB, free: 4.434 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/4.842, allocations: 8 kB / 1.86 GB, free: 4.426 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/4.842, allocations: 19.5 kB / 1.86 GB, free: 4.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007891/4.843, allocations: 236.1 kB / 1.861 GB, free: 4.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.912e-05/4.843, allocations: 23.92 kB / 1.861 GB, free: 4.156 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/4.845, allocations: 162.9 kB / 1.861 GB, free: 3.996 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/4.845, allocations: 51.98 kB / 1.861 GB, free: 3.945 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.0002534/4.846, allocations: 136.6 kB / 1.861 GB, free: 3.805 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005237/4.846, allocations: 169.9 kB / 1.861 GB, free: 3.637 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/4.848, allocations: 0.7226 MB / 1.862 GB, free: 2.898 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/4.848, allocations: 11.98 kB / 1.862 GB, free: 2.887 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/4.848, allocations: 0 / 1.862 GB, free: 2.887 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001073/4.849, allocations: 0.6863 MB / 1.863 GB, free: 2.156 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6164/5.465, allocations: 2.146 MB / 1.865 GB, free: 74.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/5.465, allocations: 2.312 kB / 1.865 GB, free: 74.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009234/5.466, allocations: 180.7 kB / 1.865 GB, free: 74.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.416e-05/5.466, allocations: 6.875 kB / 1.865 GB, free: 74.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-05/5.466, allocations: 11.06 kB / 1.865 GB, free: 74.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/5.466, allocations: 5.125 kB / 1.865 GB, free: 74.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/5.466, allocations: 5.062 kB / 1.865 GB, free: 74.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/5.469, allocations: 1.297 MB / 1.866 GB, free: 74.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009396/5.47, allocations: 370.4 kB / 1.866 GB, free: 74.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/5.47, allocations: 15.28 kB / 1.866 GB, free: 74.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/5.471, allocations: 109.6 kB / 1.867 GB, free: 74.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/5.472, allocations: 52.78 kB / 1.867 GB, free: 74.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.668e-05/5.472, allocations: 34.48 kB / 1.867 GB, free: 74.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001725/5.473, allocations: 0.9028 MB / 1.868 GB, free: 74.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/5.473, allocations: 0 / 1.868 GB, free: 74.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002764/5.476, allocations: 0.6945 MB / 1.868 GB, free: 74.18 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.002033/5.478, allocations: 0.9639 MB / 1.869 GB, free: 74.03 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001122/5.479, allocations: 0.6085 MB / 1.87 GB, free: 74.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/5.479, allocations: 0.6875 kB / 1.87 GB, free: 74.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004721/5.48, allocations: 299.4 kB / 1.87 GB, free: 74.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00459/5.484, allocations: 0.9566 MB / 1.871 GB, free: 74.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004142/5.489, allocations: 2.324 MB / 1.873 GB, free: 73.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009276/5.49, allocations: 1.449 MB / 1.875 GB, free: 72.56 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001338/5.491, allocations: 342.2 kB / 1.875 GB, free: 72.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/5.491, allocations: 134.1 kB / 1.875 GB, free: 72.54 MB / 0.698 GB Notification: Performance of SimCode: time 1.273e-06/5.491, allocations: 0 / 1.875 GB, free: 72.54 MB / 0.698 GB Notification: Performance of Templates: time 0.05791/5.549, allocations: 32.6 MB / 1.907 GB, free: 71.1 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)