Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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) 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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.332/1.332, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 179.2 kB / 327.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.4 MB / 0.5783 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000783/0.0007832, allocations: 82.38 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003411, allocations: 11.56 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2211, allocations: 106.4 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.05229/0.2734, allocations: 71.14 MB / 0.9703 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02341/0.2969, allocations: 17.49 MB / 0.9874 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003724/0.3007, allocations: 91.38 kB / 0.9875 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003393/0.3041, allocations: 0.8773 MB / 0.9883 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009247/0.3133, allocations: 2.834 MB / 0.9911 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005913/0.3193, allocations: 1.433 MB / 0.9925 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01101/0.3303, allocations: 7.547 MB / 0.9999 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002844/0.3332, allocations: 1.437 MB / 1.001 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004433/0.3377, allocations: 1.859 MB / 1.003 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003108/0.3408, allocations: 1.594 MB / 1.005 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003875/0.3412, allocations: 72 kB / 1.005 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003621/0.3448, allocations: 0.904 MB / 1.006 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005202/0.3454, allocations: 382.3 kB / 1.006 GB, free: 3.965 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.3464, allocations: 492.5 kB / 1.006 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00387/0.3503, allocations: 2.65 MB / 1.009 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.3503, allocations: 0 / 1.009 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.156e-06/0.3504, allocations: 0 / 1.009 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.609e-05/0.3504, allocations: 0 / 1.009 GB, free: 0.8203 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004182/0.3546, allocations: 2.314 MB / 1.011 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3547, allocations: 16.03 kB / 1.011 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000675/0.3554, allocations: 261.1 kB / 1.012 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00303/0.3584, allocations: 1.864 MB / 1.013 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.735e-05/0.3585, allocations: 110.7 kB / 1.013 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.3587, allocations: 140 kB / 1.014 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002645/0.3613, allocations: 1.513 MB / 1.015 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.3614, allocations: 3.938 kB / 1.015 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.3615, allocations: 56 kB / 1.015 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.526e-05/0.3616, allocations: 43.95 kB / 1.015 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/0.3638, allocations: 1.158 MB / 1.016 GB, free: 9.152 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.008452/0.3723, allocations: 7.559 MB / 1.024 GB, free: 1.016 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009676/0.3733, allocations: 497 kB / 1.024 GB, free: 0.5195 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006377/0.3739, allocations: 362.3 kB / 1.025 GB, free: 168 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008946/0.3748, allocations: 1.152 MB / 1.026 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.3749, allocations: 39.12 kB / 1.026 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=59): time 2.895e-06/0.3749, allocations: 4 kB / 1.026 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59): time 0.002406/0.3773, allocations: 1.024 MB / 1.027 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.3774, allocations: 59.97 kB / 1.027 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/0.3797, allocations: 1.715 MB / 1.028 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.3798, allocations: 45.7 kB / 1.028 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007318/0.3806, allocations: 0.9198 MB / 1.029 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.3808, allocations: 217 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.3809, allocations: 24 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.381, allocations: 345.9 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007258/0.3818, allocations: 350.4 kB / 1.03 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009564/0.3827, allocations: 0.7133 MB / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008752/0.3836, allocations: 458.7 kB / 1.031 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.3836, allocations: 4 kB / 1.031 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002427/0.3861, allocations: 1.245 MB / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.3861, allocations: 11.98 kB / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.3861, allocations: 12 kB / 1.033 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.386e-05/0.3862, allocations: 20 kB / 1.033 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.3872, allocations: 320.1 kB / 1.033 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.533e-05/0.3873, allocations: 31.8 kB / 1.033 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.3889, allocations: 242.4 kB / 1.033 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.024e-05/0.389, allocations: 59.98 kB / 1.033 GB, free: 6.684 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0007479/0.3897, allocations: 437.3 kB / 1.034 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/0.39, allocations: 189.7 kB / 1.034 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.3919, allocations: 0.9071 MB / 1.035 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.3919, allocations: 4 kB / 1.035 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3919, allocations: 8 kB / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001344/0.3933, allocations: 0.8347 MB / 1.036 GB, free: 4.25 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004443/0.3977, allocations: 2.462 MB / 1.038 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3977, allocations: 4 kB / 1.038 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008338/0.3986, allocations: 208 kB / 1.038 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.3986, allocations: 7.938 kB / 1.038 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/0.3987, allocations: 20 kB / 1.038 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.3987, allocations: 7.953 kB / 1.038 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.3987, allocations: 4 kB / 1.038 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/0.4012, allocations: 1.386 MB / 1.04 GB, free: 16 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009363/0.4022, allocations: 402.3 kB / 1.04 GB, free: 15.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/0.4024, allocations: 12 kB / 1.04 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.4036, allocations: 125.5 kB / 1.04 GB, free: 15.47 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.4037, allocations: 56.38 kB / 1.04 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.205e-05/0.4038, allocations: 27.98 kB / 1.04 GB, free: 15.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00181/0.4056, allocations: 1.2 MB / 1.041 GB, free: 14.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4056, allocations: 0 / 1.041 GB, free: 14.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001923/0.4075, allocations: 0.6279 MB / 1.042 GB, free: 13.54 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.00104/0.4086, allocations: 0.5557 MB / 1.042 GB, free: 12.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001841/0.4104, allocations: 0.8436 MB / 1.043 GB, free: 12.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.4105, allocations: 8.312 kB / 1.043 GB, free: 12.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007186/0.4112, allocations: 371.4 kB / 1.044 GB, free: 11.78 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006449/0.4176, allocations: 1.206 MB / 1.045 GB, free: 10.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/0.4234, allocations: 3.707 MB / 1.048 GB, free: 6.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009833/0.4244, allocations: 1.395 MB / 1.05 GB, free: 5.391 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/0.4249, allocations: 151.4 kB / 1.05 GB, free: 5.242 MB / 0.698 GB Notification: Performance of SimCode: time 1.212e-06/0.4249, allocations: 0 / 1.05 GB, free: 5.242 MB / 0.698 GB Notification: Performance of Templates: time 0.4496/0.8745, allocations: 34.2 MB / 1.083 GB, free: 132.2 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)