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.001026/0.001026, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001048/0.001048, allocations: 194.9 kB / 16.14 MB, free: 6.699 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.329/1.329, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.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.666/1.666, allocations: 292.2 MB / 0.5484 GB, free: 13.65 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.001344/0.001344, allocations: 72.23 kB / 0.6708 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2272, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06891/0.2962, allocations: 76.66 MB / 0.8575 GB, free: 1.09 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02537/0.3216, allocations: 18.8 MB / 0.8759 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004089/0.3257, allocations: 95.38 kB / 0.876 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003269/0.3291, allocations: 1.03 MB / 0.877 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01019/0.3393, allocations: 3.351 MB / 0.8803 GB, free: 9.758 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005059/0.3444, allocations: 1.925 MB / 0.8821 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0113/0.3557, allocations: 8.867 MB / 0.8908 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002954/0.3587, allocations: 1.717 MB / 0.8925 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004318/0.363, allocations: 1.956 MB / 0.8944 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002796/0.3658, allocations: 1.769 MB / 0.8961 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003176/0.3661, allocations: 96 kB / 0.8962 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003877/0.37, allocations: 1.469 MB / 0.8976 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005121/0.3706, allocations: 450 kB / 0.8981 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001567/0.3721, allocations: 1.143 MB / 0.8992 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005006/0.3772, allocations: 3.634 MB / 0.9027 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3772, allocations: 0 / 0.9027 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.48e-06/0.3772, allocations: 3.984 kB / 0.9027 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.758e-05/0.3772, allocations: 7.875 kB / 0.9027 GB, free: 2.637 MB / 0.7169 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.004337/0.3816, allocations: 2.696 MB / 0.9054 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3816, allocations: 12.02 kB / 0.9054 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006543/0.3823, allocations: 262 kB / 0.9056 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/0.385, allocations: 1.952 MB / 0.9075 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.744e-05/0.3851, allocations: 106.7 kB / 0.9076 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/0.3853, allocations: 148 kB / 0.9078 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/0.3877, allocations: 1.516 MB / 0.9093 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.812e-05/0.3878, allocations: 3.906 kB / 0.9093 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.3879, allocations: 60 kB / 0.9093 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/0.388, allocations: 47.92 kB / 0.9094 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.3901, allocations: 1.119 MB / 0.9105 GB, free: 10.52 MB / 0.7325 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.007952/0.3981, allocations: 7.567 MB / 0.9179 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009553/0.399, allocations: 481.3 kB / 0.9183 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006082/0.3997, allocations: 339.5 kB / 0.9186 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008064/0.4005, allocations: 1.148 MB / 0.9198 GB, free: 160 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.4005, allocations: 43.12 kB / 0.9198 GB, free: 108 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=59): time 2.324e-06/0.4005, allocations: 0 / 0.9198 GB, free: 108 kB / 0.7325 GB Notification: Performance of matching and sorting (n=59): time 0.4022/0.8028, allocations: 0.9571 MB / 0.9207 GB, free: 135.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.8029, allocations: 58.73 kB / 0.9208 GB, free: 135.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003524/0.8064, allocations: 1.738 MB / 0.9225 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.8065, allocations: 44.11 kB / 0.9225 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007706/0.8073, allocations: 0.9228 MB / 0.9234 GB, free: 135.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/0.8075, allocations: 223.3 kB / 0.9236 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003506/0.8079, allocations: 235.7 kB / 0.9239 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.808, allocations: 348.8 kB / 0.9242 GB, free: 134.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006963/0.8087, allocations: 327.8 kB / 0.9245 GB, free: 134.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009023/0.8096, allocations: 0.6946 MB / 0.9252 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.8111, allocations: 1.007 MB / 0.9262 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.8111, allocations: 2.844 kB / 0.9262 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002236/0.8134, allocations: 1.224 MB / 0.9274 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.8134, allocations: 9.562 kB / 0.9274 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.8134, allocations: 15.25 kB / 0.9274 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.8135, allocations: 17.72 kB / 0.9274 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009726/0.8145, allocations: 285.5 kB / 0.9277 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/0.8145, allocations: 20.34 kB / 0.9277 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.816, allocations: 240.7 kB / 0.9279 GB, free: 133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.587e-05/0.8161, allocations: 48.48 kB / 0.928 GB, free: 133 MB / 0.7325 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.0007009/0.8168, allocations: 439.1 kB / 0.9284 GB, free: 132.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/0.8172, allocations: 194.4 kB / 0.9286 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.8188, allocations: 0.8659 MB / 0.9294 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.8189, allocations: 5.5 kB / 0.9294 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.8189, allocations: 0 / 0.9294 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0012/0.8201, allocations: 0.7999 MB / 0.9302 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003776/0.8239, allocations: 2.429 MB / 0.9326 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.8239, allocations: 0 / 0.9326 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007531/0.8246, allocations: 178.7 kB / 0.9328 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.984e-06/0.8247, allocations: 5.25 kB / 0.9328 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.8247, allocations: 20.38 kB / 0.9328 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.587e-06/0.8247, allocations: 13.64 kB / 0.9328 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.8247, allocations: 2.625 kB / 0.9328 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.8269, allocations: 1.331 MB / 0.9341 GB, free: 130 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006332/0.8276, allocations: 362.6 kB / 0.9345 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.8278, allocations: 10.61 kB / 0.9345 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.8289, allocations: 122.2 kB / 0.9346 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.8291, allocations: 46.12 kB / 0.9346 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.249e-05/0.8291, allocations: 35.2 kB / 0.9347 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001666/0.8308, allocations: 1.204 MB / 0.9358 GB, free: 129.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8308, allocations: 5.453 kB / 0.9358 GB, free: 129.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001984/0.8328, allocations: 0.6413 MB / 0.9365 GB, free: 129.1 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.001467/0.8343, allocations: 0.5887 MB / 0.937 GB, free: 129 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001902/0.8362, allocations: 0.8132 MB / 0.9378 GB, free: 128.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.8362, allocations: 2.031 kB / 0.9378 GB, free: 128.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007898/0.837, allocations: 355.7 kB / 0.9382 GB, free: 128.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005802/0.8428, allocations: 1.207 MB / 0.9394 GB, free: 128.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004889/0.8477, allocations: 3.725 MB / 0.943 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009688/0.8487, allocations: 1.401 MB / 0.9444 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001774/0.8505, allocations: 380.4 kB / 0.9447 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/0.8508, allocations: 151.4 kB / 0.9449 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of SimCode: time 1.553e-06/0.8509, allocations: 1.188 kB / 0.9449 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.05454/0.9054, allocations: 40.06 MB / 0.984 GB, free: 96.89 MB / 0.7325 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)