Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7985/0.7985, allocations: 140.1 MB / 156 MB, free: 5.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 170 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.4 MB / 426.3 MB, free: 8.453 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009223/0.0009224, allocations: 86.36 kB / 0.4945 GB, free: 8.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00172/0.00172, allocations: 265 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004734, allocations: 16 kB / 0.662 GB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4395, allocations: 79.29 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8109/1.25, allocations: 376.5 MB / 1.107 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/1.251, allocations: 102.9 kB / 1.107 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.733/2.983, allocations: 432.9 MB / 1.53 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.456e-06/2.983, allocations: 0 / 1.53 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002256/2.984, allocations: 34 kB / 1.53 GB, free: 130.6 MB / 0.6667 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.004975/2.989, allocations: 1.439 MB / 1.531 GB, free: 129.2 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/2.989, allocations: 8.031 kB / 1.531 GB, free: 129.2 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007876/2.989, allocations: 131.5 kB / 1.532 GB, free: 129.1 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02411/3.014, allocations: 11.81 MB / 1.543 GB, free: 117.5 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/3.014, allocations: 54.38 kB / 1.543 GB, free: 117.5 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/3.014, allocations: 76.38 kB / 1.543 GB, free: 117.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/3.016, allocations: 0.7738 MB / 1.544 GB, free: 116.6 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.546e-05/3.016, allocations: 10.69 kB / 1.544 GB, free: 116.6 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/3.016, allocations: 35.94 kB / 1.544 GB, free: 116.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/3.017, allocations: 16 kB / 1.544 GB, free: 116.5 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/3.018, allocations: 0.5625 MB / 1.545 GB, free: 116 MB / 0.6667 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.005153/3.023, allocations: 3.532 MB / 1.548 GB, free: 112.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006663/3.024, allocations: 372.9 kB / 1.548 GB, free: 111.9 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/3.024, allocations: 200.7 kB / 1.549 GB, free: 111.7 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004789/3.025, allocations: 0.66 MB / 1.549 GB, free: 110.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/3.025, allocations: 49.25 kB / 1.549 GB, free: 110.8 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 2.705e-06/3.025, allocations: 0 / 1.549 GB, free: 110.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.001317/3.026, allocations: 0.5532 MB / 1.55 GB, free: 110.3 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/3.026, allocations: 54.72 kB / 1.55 GB, free: 110.2 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/3.027, allocations: 0.9098 MB / 1.551 GB, free: 109.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.163e-05/3.028, allocations: 33.7 kB / 1.551 GB, free: 109.2 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/3.028, allocations: 0.4956 MB / 1.551 GB, free: 108.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/3.028, allocations: 113.8 kB / 1.551 GB, free: 108.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.828e-05/3.028, allocations: 8 kB / 1.551 GB, free: 108.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.32e-05/3.028, allocations: 326 kB / 1.552 GB, free: 108.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/3.028, allocations: 165.2 kB / 1.552 GB, free: 108.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/3.029, allocations: 385.7 kB / 1.552 GB, free: 107.7 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006846/3.03, allocations: 0.5092 MB / 1.553 GB, free: 107.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.902e-06/3.03, allocations: 6.562 kB / 1.553 GB, free: 107.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001069/3.031, allocations: 0.5974 MB / 1.553 GB, free: 106.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/3.031, allocations: 8 kB / 1.553 GB, free: 106.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/3.031, allocations: 11.06 kB / 1.553 GB, free: 106.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/3.031, allocations: 8 kB / 1.553 GB, free: 106.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/3.031, allocations: 118.7 kB / 1.553 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/3.031, allocations: 11.98 kB / 1.553 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009555/3.032, allocations: 110.2 kB / 1.554 GB, free: 106.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.258e-05/3.032, allocations: 35.06 kB / 1.554 GB, free: 106.2 MB / 0.6667 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.0004998/3.033, allocations: 272.9 kB / 1.554 GB, free: 106 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/3.033, allocations: 106.7 kB / 1.554 GB, free: 105.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009829/3.034, allocations: 0.5043 MB / 1.554 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/3.034, allocations: 4 kB / 1.554 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/3.034, allocations: 0 / 1.554 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006163/3.035, allocations: 481.6 kB / 1.555 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/3.037, allocations: 1.462 MB / 1.556 GB, free: 103.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/3.037, allocations: 7.984 kB / 1.556 GB, free: 103.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/3.037, allocations: 82.17 kB / 1.556 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/3.037, allocations: 4 kB / 1.556 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/3.037, allocations: 8 kB / 1.556 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/3.037, allocations: 7.625 kB / 1.556 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/3.037, allocations: 3.938 kB / 1.556 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/3.038, allocations: 0.8261 MB / 1.557 GB, free: 102.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004541/3.039, allocations: 243.7 kB / 1.558 GB, free: 102.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/3.039, allocations: 11.31 kB / 1.558 GB, free: 102.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006229/3.04, allocations: 50.89 kB / 1.558 GB, free: 102 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-05/3.04, allocations: 39.83 kB / 1.558 GB, free: 102 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/3.04, allocations: 19.98 kB / 1.558 GB, free: 102 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008159/3.041, allocations: 0.6337 MB / 1.558 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.774e-06/3.041, allocations: 0 / 1.558 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0013/3.042, allocations: 361.5 kB / 1.559 GB, free: 101 MB / 0.6667 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.001282/3.043, allocations: 0.5415 MB / 1.559 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008937/3.044, allocations: 413 kB / 1.56 GB, free: 100.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/3.044, allocations: 2.312 kB / 1.56 GB, free: 100.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003547/3.045, allocations: 205.9 kB / 1.56 GB, free: 99.96 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/3.048, allocations: 0.6207 MB / 1.56 GB, free: 99.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/3.05, allocations: 1.968 MB / 1.562 GB, free: 97.49 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/3.051, allocations: 1.036 MB / 1.563 GB, free: 96.42 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009277/3.052, allocations: 202.5 kB / 1.563 GB, free: 96.24 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/3.052, allocations: 79.42 kB / 1.564 GB, free: 96.16 MB / 0.6667 GB Notification: Performance of SimCode: time 8.81e-07/3.052, allocations: 4 kB / 1.564 GB, free: 96.16 MB / 0.6667 GB Notification: Performance of Templates: time 0.0554/3.107, allocations: 22.68 MB / 1.586 GB, free: 74.12 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)