Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 109.1 kB / 15.99 MB, free: 6.355 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.001349/0.001349, allocations: 192.2 kB / 16.91 MB, free: 6.195 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.424/1.424, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.718/1.718, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001378/0.001378, allocations: 65.3 kB / 0.6716 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2321, allocations: 114.5 MB / 0.7835 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6642/0.8963, allocations: 196.3 MB / 0.9752 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01429/0.9107, allocations: 10.25 MB / 0.9852 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00298/0.9137, allocations: 52.66 kB / 0.9853 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.9157, allocations: 490.6 kB / 0.9857 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006476/0.9222, allocations: 1.841 MB / 0.9875 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004067/0.9263, allocations: 1.248 MB / 0.9887 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004889/0.9312, allocations: 2.799 MB / 0.9915 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001989/0.9332, allocations: 1.16 MB / 0.9926 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005121/0.9383, allocations: 1.651 MB / 0.9942 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002143/0.9405, allocations: 0.9943 MB / 0.9952 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002681/0.9408, allocations: 117.9 kB / 0.9953 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004461/0.9452, allocations: 2.231 MB / 0.9975 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005014/0.9458, allocations: 430.5 kB / 0.9979 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000984/0.9468, allocations: 0.7103 MB / 0.9986 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003199/0.95, allocations: 1.84 MB / 1 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.95, allocations: 0 / 1 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.425e-06/0.95, allocations: 0 / 1 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.931e-05/0.95, allocations: 0 / 1 GB, free: 2.426 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002979/0.953, allocations: 1.818 MB / 1.002 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.9531, allocations: 7.625 kB / 1.002 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002097/0.9552, allocations: 367.8 kB / 1.003 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.9566, allocations: 0.9065 MB / 1.003 GB, free: 16.65 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.132e-05/0.9567, allocations: 88.16 kB / 1.003 GB, free: 16.61 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.9568, allocations: 104.7 kB / 1.004 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.9583, allocations: 1.099 MB / 1.005 GB, free: 16.05 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.9584, allocations: 5.594 kB / 1.005 GB, free: 16.05 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.17e-05/0.9585, allocations: 42.25 kB / 1.005 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-05/0.9585, allocations: 36.53 kB / 1.005 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.9599, allocations: 0.8076 MB / 1.006 GB, free: 15.75 MB / 0.7481 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.006134/0.966, allocations: 5.058 MB / 1.01 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.9673, allocations: 0.7191 MB / 1.011 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000537/0.9678, allocations: 355.2 kB / 1.012 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006248/0.9685, allocations: 311.7 kB / 1.012 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.9685, allocations: 43.67 kB / 1.012 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 3.506e-06/0.9685, allocations: 0 / 1.012 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.001956/0.9705, allocations: 0.9308 MB / 1.013 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.9706, allocations: 62.31 kB / 1.013 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.9716, allocations: 0.8773 MB / 1.014 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.503e-05/0.9717, allocations: 45.05 kB / 1.014 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004215/0.9721, allocations: 0.5551 MB / 1.014 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.9723, allocations: 252.6 kB / 1.015 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.9726, allocations: 140.5 kB / 1.015 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.9728, allocations: 334.9 kB / 1.015 GB, free: 9.434 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/0.9732, allocations: 256.7 kB / 1.015 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.9738, allocations: 451 kB / 1.016 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.9749, allocations: 0.706 MB / 1.016 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.9749, allocations: 8.469 kB / 1.016 GB, free: 8.605 MB / 0.7481 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001427/0.9764, allocations: 0.8252 MB / 1.017 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.9764, allocations: 8.984 kB / 1.017 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.9764, allocations: 3.406 kB / 1.017 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.9765, allocations: 10.09 kB / 1.017 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.978, allocations: 268.2 kB / 1.017 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.9797, allocations: 1.496 MB / 1.019 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009735/0.9807, allocations: 112.6 kB / 1.019 GB, free: 6.695 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.428e-05/0.9808, allocations: 32.41 kB / 1.019 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007978/0.9816, allocations: 475.3 kB / 1.019 GB, free: 6.402 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005931/0.9822, allocations: 444.4 kB / 1.02 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001061/0.9832, allocations: 0.7075 MB / 1.021 GB, free: 5.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.789e-06/0.9833, allocations: 4.062 kB / 1.021 GB, free: 5.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001492/0.9848, allocations: 0.8317 MB / 1.021 GB, free: 5.195 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.9848, allocations: 13.75 kB / 1.021 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.9848, allocations: 11.88 kB / 1.021 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.9848, allocations: 7.375 kB / 1.021 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.9863, allocations: 266.8 kB / 1.022 GB, free: 5.129 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.9877, allocations: 1.491 MB / 1.023 GB, free: 3.598 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009727/0.9887, allocations: 88.92 kB / 1.023 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.734e-05/0.9888, allocations: 40 kB / 1.023 GB, free: 3.535 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002934/0.9891, allocations: 239.7 kB / 1.023 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.9893, allocations: 112.2 kB / 1.024 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/0.9911, allocations: 0.7882 MB / 1.024 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.9911, allocations: 5.062 kB / 1.024 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.9911, allocations: 1.781 kB / 1.024 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001349/0.9925, allocations: 0.7111 MB / 1.025 GB, free: 2.363 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003745/0.9963, allocations: 1.935 MB / 1.027 GB, free: 1.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.9963, allocations: 0 / 1.027 GB, free: 1.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007217/0.997, allocations: 143.6 kB / 1.027 GB, free: 1.047 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003588/0.9974, allocations: 40.69 kB / 1.027 GB, free: 1.027 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-05/0.9975, allocations: 26.73 kB / 1.027 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/0.999, allocations: 1.457 MB / 1.029 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.999, allocations: 6.312 kB / 1.029 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002826/1.002, allocations: 1.249 MB / 1.03 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000637/1.002, allocations: 260.3 kB / 1.03 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/1.003, allocations: 18.03 kB / 1.03 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008138/1.004, allocations: 58.44 kB / 1.03 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.993e-05/1.004, allocations: 45.44 kB / 1.03 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/1.004, allocations: 22.47 kB / 1.03 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009045/1.005, allocations: 0.5931 MB / 1.031 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/1.005, allocations: 0 / 1.031 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001784/1.006, allocations: 0.5352 MB / 1.031 GB, free: 14 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005571/1.007, allocations: 213 kB / 1.031 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004188/1.011, allocations: 1.283 MB / 1.033 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/1.011, allocations: 0 / 1.033 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0008448/1.012, allocations: 452.5 kB / 1.033 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/1.015, allocations: 0.524 MB / 1.034 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004831/1.02, allocations: 2.697 MB / 1.036 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009343/1.021, allocations: 1.132 MB / 1.037 GB, free: 10 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003752/1.021, allocations: 88.89 kB / 1.038 GB, free: 9.988 MB / 0.7637 GB Notification: Performance of SimCode: time 5.71e-07/1.021, allocations: 2.844 kB / 1.038 GB, free: 9.988 MB / 0.7637 GB Notification: Performance of Templates: time 0.03468/1.056, allocations: 21.38 MB / 1.058 GB, free: 6.91 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)