Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001381/0.001382, 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.001773/0.001773, 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.689/1.689, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.936/2.936, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 64.36 kB / 0.9113 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3777, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04392/0.4216, allocations: 41.35 MB / 1.108 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01685/0.4385, allocations: 10.47 MB / 1.118 GB, free: 6.914 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002352/0.4409, allocations: 51.69 kB / 1.118 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002129/0.4431, allocations: 0.5322 MB / 1.119 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005707/0.4488, allocations: 1.742 MB / 1.12 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003404/0.4523, allocations: 1.069 MB / 1.121 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006154/0.4584, allocations: 4.52 MB / 1.126 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001782/0.4602, allocations: 0.8792 MB / 1.127 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002659/0.4629, allocations: 1.042 MB / 1.128 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/0.4647, allocations: 0.8905 MB / 1.129 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002563/0.4649, allocations: 48 kB / 1.129 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.4674, allocations: 0.7794 MB / 1.129 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004004/0.4678, allocations: 227 kB / 1.13 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.4689, allocations: 0.5829 MB / 1.13 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003366/0.4723, allocations: 1.87 MB / 1.132 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.4723, allocations: 0 / 1.132 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4723, allocations: 0 / 1.132 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.495e-05/0.4724, allocations: 0 / 1.132 GB, free: 8.633 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.003436/0.4758, allocations: 1.519 MB / 1.133 GB, free: 7.059 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/0.4759, allocations: 8.031 kB / 1.134 GB, free: 7.051 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006699/0.4766, allocations: 135.4 kB / 1.134 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/0.4789, allocations: 1.084 MB / 1.135 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.264e-05/0.479, allocations: 57.94 kB / 1.135 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.4791, allocations: 68 kB / 1.135 GB, free: 5.668 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.4808, allocations: 0.7905 MB / 1.136 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.4809, allocations: 0 / 1.136 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/0.4809, allocations: 35.98 kB / 1.136 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.249e-05/0.481, allocations: 23.98 kB / 1.136 GB, free: 4.785 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.4823, allocations: 0.5672 MB / 1.136 GB, free: 4.215 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.005444/0.4877, allocations: 3.536 MB / 1.14 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/0.4885, allocations: 273.1 kB / 1.14 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004114/0.4889, allocations: 181.2 kB / 1.14 GB, free: 0 / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007841/0.4897, allocations: 0.6532 MB / 1.141 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.926e-05/0.4898, allocations: 42.56 kB / 1.141 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 2.535e-06/0.4898, allocations: 0 / 1.141 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.001628/0.4915, allocations: 0.5085 MB / 1.141 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.4915, allocations: 63.33 kB / 1.141 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.4933, allocations: 0.9299 MB / 1.142 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.545e-05/0.4934, allocations: 37.7 kB / 1.142 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005886/0.494, allocations: 499.6 kB / 1.143 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.4941, allocations: 118.3 kB / 1.143 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.4944, allocations: 110.1 kB / 1.143 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4945, allocations: 337.9 kB / 1.143 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.4949, allocations: 161 kB / 1.143 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006053/0.4955, allocations: 350.9 kB / 1.144 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000998/0.4965, allocations: 0.511 MB / 1.144 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.4966, allocations: 4 kB / 1.144 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001476/0.4981, allocations: 0.6137 MB / 1.145 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.4981, allocations: 12 kB / 1.145 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.4981, allocations: 4 kB / 1.145 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/0.4982, allocations: 8 kB / 1.145 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004999/0.4987, allocations: 127.8 kB / 1.145 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.658e-05/0.4987, allocations: 11.94 kB / 1.145 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009259/0.4996, allocations: 111.1 kB / 1.145 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/0.4997, allocations: 24 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.000441/0.5001, allocations: 285.5 kB / 1.145 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.5004, allocations: 94.88 kB / 1.146 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.5014, allocations: 488.3 kB / 1.146 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.5014, allocations: 4 kB / 1.146 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.5015, allocations: 4 kB / 1.146 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007351/0.5022, allocations: 453.5 kB / 1.146 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.5047, allocations: 1.35 MB / 1.148 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.5047, allocations: 4.062 kB / 1.148 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000361/0.5051, allocations: 75.89 kB / 1.148 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.5051, allocations: 7.938 kB / 1.148 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.071e-05/0.5052, allocations: 11.98 kB / 1.148 GB, free: 7.562 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.937e-06/0.5052, allocations: 8.141 kB / 1.148 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.5052, allocations: 4 kB / 1.148 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.5067, allocations: 0.7565 MB / 1.149 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004577/0.5071, allocations: 235.6 kB / 1.149 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/0.5073, allocations: 8 kB / 1.149 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006758/0.508, allocations: 55.84 kB / 1.149 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-05/0.5081, allocations: 23.97 kB / 1.149 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.954e-05/0.5082, allocations: 23.98 kB / 1.149 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001001/0.5092, allocations: 0.6471 MB / 1.15 GB, free: 5.75 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5092, allocations: 7.938 kB / 1.15 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001079/0.5103, allocations: 331.5 kB / 1.15 GB, free: 5.418 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.0009592/0.5112, allocations: 382.1 kB / 1.15 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009643/0.5122, allocations: 420.4 kB / 1.151 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.5122, allocations: 8 kB / 1.151 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004073/0.5126, allocations: 184.3 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.003065/0.5157, allocations: 0.5908 MB / 1.151 GB, free: 3.863 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.519, allocations: 1.936 MB / 1.153 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007248/0.5198, allocations: 1.04 MB / 1.154 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009438/0.5207, allocations: 198.5 kB / 1.154 GB, free: 0.6211 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.5209, allocations: 79.42 kB / 1.155 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of SimCode: time 8.51e-07/0.5209, allocations: 0 / 1.155 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of Templates: time 0.03641/0.5574, allocations: 20.16 MB / 1.174 GB, free: 12.62 MB / 0.9356 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)