Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0112/0.0112, allocations: 170.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8264/0.8264, allocations: 135.2 MB / 151.1 MB, free: 13.82 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.637/1.637, allocations: 223.2 MB / 406.9 MB, free: 3.223 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.0009228/0.000923, allocations: 91.08 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004071, allocations: 11.94 kB / 0.5691 GB, free: 14.2 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5403/0.5407, allocations: 82.31 MB / 0.6495 GB, free: 36.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9065/1.447, allocations: 381.7 MB / 1.022 GB, free: 8.574 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/1.448, allocations: 99.06 kB / 1.022 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.697/3.145, allocations: 444.1 MB / 1.456 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.534e-06/3.145, allocations: 3.188 kB / 1.456 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001081/3.145, allocations: 31.36 kB / 1.456 GB, free: 126 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003092/3.148, allocations: 1.458 MB / 1.458 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/3.148, allocations: 8.031 kB / 1.458 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003185/3.149, allocations: 134.5 kB / 1.458 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02557/3.174, allocations: 13.07 MB / 1.47 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/3.174, allocations: 53.06 kB / 1.47 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/3.175, allocations: 76 kB / 1.471 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/3.176, allocations: 0.7695 MB / 1.471 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/3.176, allocations: 0 / 1.471 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.426e-05/3.176, allocations: 34.66 kB / 1.471 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.958e-05/3.176, allocations: 20 kB / 1.471 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009155/3.177, allocations: 0.5664 MB / 1.472 GB, free: 110.2 MB / 0.6823 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.003924/3.181, allocations: 3.542 MB / 1.475 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005855/3.181, allocations: 372.4 kB / 1.476 GB, free: 106 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004443/3.182, allocations: 0.6599 MB / 1.476 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/3.182, allocations: 40.16 kB / 1.476 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/3.182, allocations: 3.656 kB / 1.476 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001127/3.183, allocations: 0.5648 MB / 1.477 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/3.183, allocations: 59.38 kB / 1.477 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008734/3.184, allocations: 0.827 MB / 1.478 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/3.184, allocations: 33.7 kB / 1.478 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/3.184, allocations: 0.5023 MB / 1.478 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.293e-05/3.184, allocations: 104.6 kB / 1.478 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/3.185, allocations: 14.12 kB / 1.478 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.024e-05/3.185, allocations: 326 kB / 1.479 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/3.185, allocations: 158.8 kB / 1.479 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003832/3.185, allocations: 370.7 kB / 1.479 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/3.186, allocations: 220.9 kB / 1.479 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/3.186, allocations: 4 kB / 1.479 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009711/3.187, allocations: 0.5978 MB / 1.48 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/3.187, allocations: 8 kB / 1.48 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/3.187, allocations: 6.953 kB / 1.48 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/3.187, allocations: 12 kB / 1.48 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/3.187, allocations: 115.8 kB / 1.48 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/3.187, allocations: 19.05 kB / 1.48 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008167/3.188, allocations: 114.2 kB / 1.48 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/3.188, allocations: 24 kB / 1.48 GB, free: 101.1 MB / 0.6823 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.0004327/3.188, allocations: 273.6 kB / 1.481 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/3.189, allocations: 101.8 kB / 1.481 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008655/3.189, allocations: 0.5037 MB / 1.481 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/3.189, allocations: 7.25 kB / 1.481 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/3.189, allocations: 0 / 1.481 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006283/3.19, allocations: 488.2 kB / 1.482 GB, free: 99.66 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/3.192, allocations: 1.458 MB / 1.483 GB, free: 98.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/3.192, allocations: 0 / 1.483 GB, free: 98.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/3.192, allocations: 95.27 kB / 1.483 GB, free: 98.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/3.192, allocations: 0 / 1.483 GB, free: 98.04 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/3.193, allocations: 14.16 kB / 1.483 GB, free: 98.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/3.193, allocations: 0 / 1.483 GB, free: 98.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/3.193, allocations: 7.938 kB / 1.483 GB, free: 98.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/3.194, allocations: 0.8867 MB / 1.484 GB, free: 97.09 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004168/3.194, allocations: 246.3 kB / 1.484 GB, free: 96.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/3.194, allocations: 8 kB / 1.484 GB, free: 96.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005353/3.195, allocations: 66.39 kB / 1.484 GB, free: 96.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/3.195, allocations: 27.06 kB / 1.484 GB, free: 96.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/3.195, allocations: 23.98 kB / 1.484 GB, free: 96.72 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007147/3.196, allocations: 0.6528 MB / 1.485 GB, free: 96.06 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/3.196, allocations: 0 / 1.485 GB, free: 96.06 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001135/3.197, allocations: 367.4 kB / 1.485 GB, free: 95.7 MB / 0.6823 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.0009747/3.198, allocations: 0.5564 MB / 1.486 GB, free: 95.26 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000808/3.198, allocations: 422.4 kB / 1.486 GB, free: 94.85 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/3.199, allocations: 0 / 1.486 GB, free: 94.85 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003381/3.199, allocations: 204 kB / 1.487 GB, free: 94.66 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/3.201, allocations: 0.6175 MB / 1.487 GB, free: 94.09 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/3.204, allocations: 1.963 MB / 1.489 GB, free: 92.13 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/3.204, allocations: 1.063 MB / 1.49 GB, free: 91.04 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007698/3.205, allocations: 195.9 kB / 1.49 GB, free: 90.85 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/3.205, allocations: 83.41 kB / 1.49 GB, free: 90.77 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/3.205, allocations: 4 kB / 1.49 GB, free: 90.77 MB / 0.6823 GB Notification: Performance of Templates: time 0.03477/3.24, allocations: 22.26 MB / 1.512 GB, free: 69.15 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)