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.001274/0.001274, allocations: 180.9 kB / 7.651 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.7469/0.7469, allocations: 133.6 MB / 141.6 MB, free: 2.887 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.614/1.614, allocations: 221.5 MB / 395.5 MB, free: 10.81 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.0009005/0.0009001, allocations: 95.83 kB / 478.2 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.792e-05/2.812e-05, allocations: 4 kB / 0.5535 GB, free: 9.066 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5168/0.5168, allocations: 82.3 MB / 0.6338 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8868/1.404, allocations: 381 MB / 1.006 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/1.404, allocations: 91.89 kB / 1.006 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.921/3.325, allocations: 440.4 MB / 1.436 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.446e-06/3.325, allocations: 2.719 kB / 1.436 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001834/3.325, allocations: 29.36 kB / 1.436 GB, free: 147.1 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.00302/3.328, allocations: 1.242 MB / 1.437 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/3.328, allocations: 11.38 kB / 1.437 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006834/3.329, allocations: 133.2 kB / 1.437 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02572/3.355, allocations: 12.94 MB / 1.45 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/3.355, allocations: 21.75 kB / 1.45 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002541/3.355, allocations: 44.25 kB / 1.45 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001092/3.356, allocations: 446.8 kB / 1.451 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/3.357, allocations: 0.6209 MB / 1.451 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/3.357, allocations: 10.16 kB / 1.451 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/3.357, allocations: 3.469 kB / 1.451 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/3.357, allocations: 27.52 kB / 1.451 GB, free: 141.3 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.004622/3.362, allocations: 3.379 MB / 1.454 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004936/3.363, allocations: 316.4 kB / 1.455 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/3.363, allocations: 156.8 kB / 1.455 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004538/3.363, allocations: 0.6648 MB / 1.456 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/3.363, allocations: 34.56 kB / 1.456 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/3.363, allocations: 0 / 1.456 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.000886/3.364, allocations: 348.5 kB / 1.456 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/3.364, allocations: 61.72 kB / 1.456 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/3.365, allocations: 0.645 MB / 1.457 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.677e-05/3.365, allocations: 31.89 kB / 1.457 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/3.366, allocations: 0.4901 MB / 1.457 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/3.366, allocations: 105.4 kB / 1.457 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.796e-05/3.366, allocations: 0 / 1.457 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.814e-05/3.366, allocations: 331.9 kB / 1.458 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/3.366, allocations: 117.5 kB / 1.458 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/3.366, allocations: 322.3 kB / 1.458 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/3.367, allocations: 185.9 kB / 1.458 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/3.367, allocations: 0 / 1.458 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009987/3.368, allocations: 489.6 kB / 1.459 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/3.368, allocations: 8.5 kB / 1.459 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/3.368, allocations: 4.125 kB / 1.459 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/3.368, allocations: 10.81 kB / 1.459 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004114/3.368, allocations: 118.3 kB / 1.459 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/3.368, allocations: 16.8 kB / 1.459 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009178/3.369, allocations: 84.53 kB / 1.459 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/3.369, allocations: 22.75 kB / 1.459 GB, free: 135.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 () * 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.0001514/3.37, allocations: 119.7 kB / 1.459 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/3.37, allocations: 87.66 kB / 1.459 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009267/3.371, allocations: 418.5 kB / 1.459 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/3.371, allocations: 3.969 kB / 1.459 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/3.371, allocations: 0 / 1.459 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005517/3.371, allocations: 400.8 kB / 1.46 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/3.374, allocations: 1.273 MB / 1.461 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/3.374, allocations: 6.328 kB / 1.461 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/3.374, allocations: 75.3 kB / 1.461 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/3.374, allocations: 3.531 kB / 1.461 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/3.374, allocations: 14.91 kB / 1.461 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/3.374, allocations: 8.812 kB / 1.461 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.738e-06/3.374, allocations: 0 / 1.461 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009727/3.375, allocations: 0.7482 MB / 1.462 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/3.376, allocations: 222.4 kB / 1.462 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/3.376, allocations: 7.922 kB / 1.462 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006175/3.376, allocations: 53.2 kB / 1.462 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/3.376, allocations: 30.3 kB / 1.462 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/3.377, allocations: 21.64 kB / 1.462 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006323/3.377, allocations: 0.4889 MB / 1.463 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/3.377, allocations: 0 / 1.463 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001328/3.379, allocations: 365.9 kB / 1.463 GB, free: 132.3 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 () * 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.00117/3.38, allocations: 0.5503 MB / 1.464 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005711/3.38, allocations: 335 kB / 1.464 GB, free: 132 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/3.38, allocations: 3.938 kB / 1.464 GB, free: 132 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/3.381, allocations: 161.4 kB / 1.464 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/3.383, allocations: 475.5 kB / 1.465 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/3.385, allocations: 1.177 MB / 1.466 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/3.386, allocations: 1.059 MB / 1.467 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007785/3.387, allocations: 183.5 kB / 1.467 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/3.387, allocations: 72.36 kB / 1.467 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.593e-06/3.387, allocations: 0 / 1.467 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.02752/3.414, allocations: 16.88 MB / 1.483 GB, free: 116.6 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)