Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4946/0.4946, allocations: 91.99 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.2 MB / 354.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009857/0.0009857, allocations: 100.2 kB / 427.4 MB, free: 3.926 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003939, allocations: 8 kB / 0.4982 GB, free: 42.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1419, allocations: 72.31 MB / 0.5689 GB, free: 1.934 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.048/1.19, allocations: 372 MB / 0.9322 GB, free: 94.82 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/1.19, allocations: 100.4 kB / 0.9322 GB, free: 94.76 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.722/2.912, allocations: 445.6 MB / 1.367 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.913e-06/2.912, allocations: 0 / 1.367 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001959/2.912, allocations: 34.44 kB / 1.367 GB, free: 103.4 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.00553/2.918, allocations: 1.451 MB / 1.369 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.138e-05/2.918, allocations: 11.38 kB / 1.369 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/2.919, allocations: 134.2 kB / 1.369 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0295/2.948, allocations: 13.07 MB / 1.382 GB, free: 102 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/2.949, allocations: 57.86 kB / 1.382 GB, free: 102 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/2.949, allocations: 72.03 kB / 1.382 GB, free: 102 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/2.951, allocations: 0.7669 MB / 1.383 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/2.951, allocations: 7.188 kB / 1.383 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.261e-05/2.951, allocations: 35.48 kB / 1.383 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/2.951, allocations: 24.64 kB / 1.383 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/2.952, allocations: 0.5584 MB / 1.383 GB, free: 101.7 MB / 0.6042 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.005509/2.958, allocations: 3.546 MB / 1.387 GB, free: 99.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000693/2.958, allocations: 375.5 kB / 1.387 GB, free: 99.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004542/2.959, allocations: 0.666 MB / 1.388 GB, free: 98.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/2.959, allocations: 40.31 kB / 1.388 GB, free: 98.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/2.959, allocations: 0 / 1.388 GB, free: 98.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.00134/2.96, allocations: 0.5602 MB / 1.388 GB, free: 98.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/2.96, allocations: 55.06 kB / 1.388 GB, free: 97.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/2.962, allocations: 0.8279 MB / 1.389 GB, free: 97.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.262e-05/2.962, allocations: 33.45 kB / 1.389 GB, free: 97.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003953/2.962, allocations: 0.4911 MB / 1.39 GB, free: 97.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/2.962, allocations: 111.6 kB / 1.39 GB, free: 97.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/2.962, allocations: 11.78 kB / 1.39 GB, free: 97.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.617e-05/2.962, allocations: 327.9 kB / 1.39 GB, free: 96.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/2.963, allocations: 158 kB / 1.39 GB, free: 96.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/2.963, allocations: 367.6 kB / 1.391 GB, free: 96.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/2.964, allocations: 220.4 kB / 1.391 GB, free: 96.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/2.964, allocations: 3.375 kB / 1.391 GB, free: 96.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001265/2.965, allocations: 0.6086 MB / 1.391 GB, free: 96.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/2.965, allocations: 7.781 kB / 1.391 GB, free: 96.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/2.965, allocations: 12.97 kB / 1.391 GB, free: 96.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/2.965, allocations: 7.75 kB / 1.391 GB, free: 96.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/2.965, allocations: 116 kB / 1.392 GB, free: 96.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/2.965, allocations: 13.45 kB / 1.392 GB, free: 96.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009051/2.966, allocations: 110.8 kB / 1.392 GB, free: 96.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-05/2.966, allocations: 31.14 kB / 1.392 GB, free: 96.06 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 57 * 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.0004588/2.967, allocations: 268.9 kB / 1.392 GB, free: 95.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/2.967, allocations: 110 kB / 1.392 GB, free: 95.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009805/2.968, allocations: 0.5118 MB / 1.393 GB, free: 95.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/2.968, allocations: 3.844 kB / 1.393 GB, free: 95.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/2.968, allocations: 0 / 1.393 GB, free: 95.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000697/2.969, allocations: 483.6 kB / 1.393 GB, free: 95.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/2.971, allocations: 1.466 MB / 1.394 GB, free: 94.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/2.971, allocations: 3.938 kB / 1.394 GB, free: 94.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/2.971, allocations: 79.42 kB / 1.394 GB, free: 94.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/2.971, allocations: 2.969 kB / 1.394 GB, free: 94.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/2.971, allocations: 14.44 kB / 1.395 GB, free: 94.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/2.971, allocations: 0 / 1.395 GB, free: 94.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/2.971, allocations: 6.094 kB / 1.395 GB, free: 94.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/2.973, allocations: 0.8928 MB / 1.395 GB, free: 94.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/2.973, allocations: 250.9 kB / 1.396 GB, free: 93.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/2.973, allocations: 7.281 kB / 1.396 GB, free: 93.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005563/2.974, allocations: 57.7 kB / 1.396 GB, free: 93.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.096e-05/2.974, allocations: 27.66 kB / 1.396 GB, free: 93.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/2.974, allocations: 20.98 kB / 1.396 GB, free: 93.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008208/2.975, allocations: 0.6562 MB / 1.396 GB, free: 93.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/2.975, allocations: 0 / 1.396 GB, free: 93.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001304/2.976, allocations: 365.4 kB / 1.397 GB, free: 93.46 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001079/2.977, allocations: 0.5637 MB / 1.397 GB, free: 93.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008452/2.978, allocations: 422.5 kB / 1.398 GB, free: 93.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/2.978, allocations: 0 / 1.398 GB, free: 93.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003619/2.978, allocations: 203.2 kB / 1.398 GB, free: 93.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/2.981, allocations: 0.6178 MB / 1.398 GB, free: 93.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/2.983, allocations: 1.969 MB / 1.4 GB, free: 91.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/2.984, allocations: 1.058 MB / 1.401 GB, free: 91.24 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008023/2.985, allocations: 200 kB / 1.402 GB, free: 91.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/2.985, allocations: 81.61 kB / 1.402 GB, free: 91.22 MB / 0.6042 GB Notification: Performance of SimCode: time 8.82e-07/2.985, allocations: 0 / 1.402 GB, free: 91.22 MB / 0.6042 GB Notification: Performance of Templates: time 0.03813/3.023, allocations: 22.26 MB / 1.423 GB, free: 83.53 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)