Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001497/0.001497, allocations: 187.9 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.785/1.785, allocations: 292.3 MB / 0.5495 GB, free: 17.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.91 kB / 0.6722 GB, free: 6.465 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2042, allocations: 114.5 MB / 0.7841 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4056/0.6098, allocations: 77.15 MB / 0.8594 GB, free: 13.56 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02705/0.6369, allocations: 18.71 MB / 0.8777 GB, free: 136 kB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004206/0.6411, allocations: 108.8 kB / 0.8778 GB, free: 92 kB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003642/0.6448, allocations: 1.249 MB / 0.879 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01087/0.6557, allocations: 3.603 MB / 0.8825 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005831/0.6615, allocations: 2.116 MB / 0.8846 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.009525/0.6711, allocations: 6.643 MB / 0.8911 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003327/0.6745, allocations: 2.099 MB / 0.8931 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006069/0.6805, allocations: 2.32 MB / 0.8954 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00394/0.6845, allocations: 1.754 MB / 0.8971 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005161/0.685, allocations: 200.4 kB / 0.8973 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004884/0.6899, allocations: 1.629 MB / 0.8989 GB, free: 2.383 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006268/0.6906, allocations: 0.5358 MB / 0.8994 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001648/0.6922, allocations: 1.241 MB / 0.9006 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005758/0.698, allocations: 3.737 MB / 0.9043 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.698, allocations: 0 / 0.9043 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.014e-06/0.698, allocations: 0 / 0.9043 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.753e-05/0.6981, allocations: 0 / 0.9043 GB, free: 14.69 MB / 0.7012 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.004443/0.7025, allocations: 2.703 MB / 0.9069 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.7026, allocations: 9.562 kB / 0.9069 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007206/0.7033, allocations: 267 kB / 0.9072 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002926/0.7062, allocations: 1.877 MB / 0.909 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.952e-05/0.7063, allocations: 118.7 kB / 0.9091 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/0.7065, allocations: 140 kB / 0.9093 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00251/0.709, allocations: 1.517 MB / 0.9107 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/0.7091, allocations: 3.938 kB / 0.9107 GB, free: 8.895 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.7092, allocations: 56 kB / 0.9108 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-05/0.7093, allocations: 43.94 kB / 0.9108 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/0.7114, allocations: 1.126 MB / 0.9119 GB, free: 7.664 MB / 0.7012 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.008184/0.7196, allocations: 7.596 MB / 0.9194 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009168/0.7206, allocations: 478.3 kB / 0.9198 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006062/0.7212, allocations: 330.9 kB / 0.9201 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009235/0.7221, allocations: 1.152 MB / 0.9212 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.7221, allocations: 43.11 kB / 0.9213 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=59): time 2.825e-06/0.7222, allocations: 0 / 0.9213 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=59): time 0.002087/0.7242, allocations: 0.9613 MB / 0.9222 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.7243, allocations: 59.97 kB / 0.9223 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.7264, allocations: 1.774 MB / 0.924 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.017e-05/0.7264, allocations: 37.7 kB / 0.9241 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006993/0.7271, allocations: 0.9237 MB / 0.925 GB, free: 9.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.7274, allocations: 220.9 kB / 0.9252 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002835/0.7276, allocations: 226.7 kB / 0.9254 GB, free: 8.957 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.7278, allocations: 349.9 kB / 0.9257 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006468/0.7284, allocations: 330.3 kB / 0.926 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009259/0.7294, allocations: 0.6938 MB / 0.9267 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.7309, allocations: 1.008 MB / 0.9277 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.7309, allocations: 8 kB / 0.9277 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002178/0.7331, allocations: 1.206 MB / 0.9289 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.7331, allocations: 12 kB / 0.9289 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.7331, allocations: 8 kB / 0.9289 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.7332, allocations: 16 kB / 0.9289 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009468/0.7341, allocations: 300.1 kB / 0.9292 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/0.7342, allocations: 19.94 kB / 0.9292 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.7353, allocations: 162.4 kB / 0.9294 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.088e-05/0.7354, allocations: 61.86 kB / 0.9294 GB, free: 4.504 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006429/0.7361, allocations: 437.4 kB / 0.9299 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/0.7364, allocations: 193.6 kB / 0.93 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.738, allocations: 0.865 MB / 0.9309 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.738, allocations: 4 kB / 0.9309 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.738, allocations: 4 kB / 0.9309 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/0.7393, allocations: 0.7879 MB / 0.9317 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003689/0.743, allocations: 2.443 MB / 0.934 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.743, allocations: 4.188 kB / 0.934 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007337/0.7437, allocations: 183.7 kB / 0.9342 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.7438, allocations: 4 kB / 0.9342 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.009e-05/0.7438, allocations: 19.98 kB / 0.9342 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.7438, allocations: 4 kB / 0.9342 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.7438, allocations: 7.938 kB / 0.9343 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.746, allocations: 1.335 MB / 0.9356 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005967/0.7466, allocations: 374.4 kB / 0.9359 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/0.7468, allocations: 12 kB / 0.9359 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00088/0.7477, allocations: 67.14 kB / 0.936 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.7478, allocations: 48.5 kB / 0.936 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.69e-05/0.7479, allocations: 35.97 kB / 0.9361 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001514/0.7494, allocations: 1.227 MB / 0.9373 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7494, allocations: 0 / 0.9373 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0016/0.751, allocations: 0.6629 MB / 0.9379 GB, free: 11.57 MB / 0.7325 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 (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.001024/0.7521, allocations: 0.6165 MB / 0.9385 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001515/0.7536, allocations: 0.8165 MB / 0.9393 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7536, allocations: 4.125 kB / 0.9393 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006603/0.7543, allocations: 350.9 kB / 0.9397 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/0.7586, allocations: 1.197 MB / 0.9408 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/0.7629, allocations: 3.056 MB / 0.9438 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009038/0.7639, allocations: 1.401 MB / 0.9452 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001306/0.7652, allocations: 380.6 kB / 0.9455 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.7655, allocations: 143.4 kB / 0.9457 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of SimCode: time 6.82e-07/0.7655, allocations: 0 / 0.9457 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of Templates: time 0.06725/0.8327, allocations: 41.79 MB / 0.9865 GB, free: 10.46 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)