Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.00144, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002155/0.002155, allocations: 197.6 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 64.48 kB / 0.9113 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3931, allocations: 159.9 MB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04007/0.4332, allocations: 41.37 MB / 1.108 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01565/0.4489, allocations: 10.46 MB / 1.118 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002268/0.4512, allocations: 51.62 kB / 1.118 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002164/0.4534, allocations: 0.5361 MB / 1.119 GB, free: 6.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005518/0.459, allocations: 1.737 MB / 1.12 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003606/0.4626, allocations: 1.069 MB / 1.121 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006013/0.4686, allocations: 4.522 MB / 1.126 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001735/0.4704, allocations: 0.8753 MB / 1.127 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/0.4728, allocations: 1.046 MB / 1.128 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/0.4746, allocations: 0.8904 MB / 1.129 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003209/0.475, allocations: 52 kB / 1.129 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.4775, allocations: 0.7832 MB / 1.129 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004177/0.4779, allocations: 223 kB / 1.13 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.479, allocations: 0.5829 MB / 1.13 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003029/0.4821, allocations: 1.866 MB / 1.132 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4821, allocations: 4 kB / 1.132 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4821, allocations: 0 / 1.132 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.652e-05/0.4821, allocations: 0 / 1.132 GB, free: 8.625 MB / 0.8887 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.00325/0.4854, allocations: 1.515 MB / 1.133 GB, free: 7.055 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4855, allocations: 12.03 kB / 1.133 GB, free: 7.043 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004764/0.4859, allocations: 139.4 kB / 1.134 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/0.488, allocations: 1.08 MB / 1.135 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.849e-05/0.488, allocations: 58 kB / 1.135 GB, free: 5.727 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.4882, allocations: 76 kB / 1.135 GB, free: 5.652 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.4897, allocations: 0.7866 MB / 1.136 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.4897, allocations: 4 kB / 1.136 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.425e-05/0.4898, allocations: 28 kB / 1.136 GB, free: 4.801 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/0.4898, allocations: 24 kB / 1.136 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.4911, allocations: 0.5672 MB / 1.136 GB, free: 4.207 MB / 0.8887 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.004219/0.4953, allocations: 3.54 MB / 1.14 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005763/0.4959, allocations: 265.2 kB / 1.14 GB, free: 180 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.4963, allocations: 178.7 kB / 1.14 GB, free: 0 / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005405/0.4968, allocations: 0.6571 MB / 1.141 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.4968, allocations: 38.56 kB / 1.141 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 1.723e-06/0.4969, allocations: 4 kB / 1.141 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.001252/0.4981, allocations: 0.5124 MB / 1.141 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.4982, allocations: 55.41 kB / 1.141 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.4994, allocations: 0.9299 MB / 1.142 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.4994, allocations: 37.7 kB / 1.142 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003896/0.4998, allocations: 0.4956 MB / 1.143 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.4999, allocations: 106.4 kB / 1.143 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.5001, allocations: 122 kB / 1.143 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5002, allocations: 329.9 kB / 1.143 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/0.5006, allocations: 161 kB / 1.143 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005158/0.5011, allocations: 358.8 kB / 1.144 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008617/0.502, allocations: 0.5071 MB / 1.144 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.502, allocations: 0 / 1.144 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00121/0.5032, allocations: 0.6169 MB / 1.145 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.5033, allocations: 8.688 kB / 1.145 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.5033, allocations: 7.938 kB / 1.145 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.5033, allocations: 12 kB / 1.145 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.5037, allocations: 119.8 kB / 1.145 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.5038, allocations: 8 kB / 1.145 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007372/0.5045, allocations: 115.1 kB / 1.145 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/0.5046, allocations: 27.98 kB / 1.145 GB, free: 10.43 MB / 0.9044 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 (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003623/0.505, allocations: 278.2 kB / 1.145 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.5051, allocations: 94.88 kB / 1.145 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.5062, allocations: 499.2 kB / 1.146 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.5062, allocations: 8.047 kB / 1.146 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5062, allocations: 7.938 kB / 1.146 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007353/0.5069, allocations: 457.5 kB / 1.146 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.5091, allocations: 1.354 MB / 1.148 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.5091, allocations: 3.984 kB / 1.148 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/0.5095, allocations: 71.89 kB / 1.148 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.5095, allocations: 7.938 kB / 1.148 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.5096, allocations: 8 kB / 1.148 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.5096, allocations: 4 kB / 1.148 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5096, allocations: 0 / 1.148 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.5109, allocations: 0.7644 MB / 1.149 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000346/0.5113, allocations: 235.6 kB / 1.149 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.5114, allocations: 8 kB / 1.149 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006414/0.5121, allocations: 51.92 kB / 1.149 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.585e-05/0.5122, allocations: 27.95 kB / 1.149 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.63e-05/0.5122, allocations: 15.98 kB / 1.149 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009016/0.5131, allocations: 0.6549 MB / 1.15 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.492e-06/0.5131, allocations: 0 / 1.15 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001177/0.5143, allocations: 331.5 kB / 1.15 GB, free: 5.414 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008669/0.5152, allocations: 375.9 kB / 1.15 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008997/0.5161, allocations: 420.9 kB / 1.151 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5161, allocations: 4.062 kB / 1.151 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003931/0.5165, allocations: 188.2 kB / 1.151 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/0.5194, allocations: 0.5997 MB / 1.151 GB, free: 3.855 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.5225, allocations: 1.931 MB / 1.153 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006568/0.5231, allocations: 1.048 MB / 1.154 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008274/0.524, allocations: 196.8 kB / 1.154 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.5242, allocations: 79.42 kB / 1.155 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of SimCode: time 5.81e-07/0.5242, allocations: 0 / 1.155 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of Templates: time 0.0408/0.565, allocations: 20.16 MB / 1.174 GB, free: 12.62 MB / 0.9356 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)