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.001244/0.001243, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001159/0.001159, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 222.1 MB, free: 5.547 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.589/1.589, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0004942/0.0004942, allocations: 23.59 kB / 0.6735 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2658, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.7113/0.9772, allocations: 164.9 MB / 0.9481 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01335/0.9906, allocations: 9.301 MB / 0.9572 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.9923, allocations: 43.47 kB / 0.9573 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.9938, allocations: 0.5211 MB / 0.9578 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004886/0.9987, allocations: 1.7 MB / 0.9594 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003668/1.002, allocations: 1.362 MB / 0.9608 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002783/1.005, allocations: 1.652 MB / 0.9624 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/1.006, allocations: 0.8794 MB / 0.9632 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002413/1.009, allocations: 1.182 MB / 0.9644 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009979/1.01, allocations: 0.6482 MB / 0.965 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/1.01, allocations: 47.06 kB / 0.9651 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/1.013, allocations: 1.047 MB / 0.9661 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003207/1.013, allocations: 312.8 kB / 0.9664 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003213/1.013, allocations: 275.7 kB / 0.9666 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001704/1.015, allocations: 1.526 MB / 0.9681 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/1.015, allocations: 1.219 kB / 0.9681 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.424e-06/1.015, allocations: 0 / 0.9681 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.81e-05/1.015, allocations: 0 / 0.9681 GB, free: 4.781 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002582/1.018, allocations: 1.539 MB / 0.9696 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/1.018, allocations: 9.125 kB / 0.9696 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/1.02, allocations: 369.6 kB / 0.97 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/1.021, allocations: 0.8757 MB / 0.9709 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/1.021, allocations: 80.84 kB / 0.9709 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/1.021, allocations: 102.6 kB / 0.971 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/1.023, allocations: 1.084 MB / 0.9721 GB, free: 19.28 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/1.023, allocations: 5.781 kB / 0.9721 GB, free: 19.28 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.721e-05/1.023, allocations: 40.16 kB / 0.9721 GB, free: 19.28 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/1.023, allocations: 43.95 kB / 0.9722 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/1.024, allocations: 0.7895 MB / 0.9729 GB, free: 19.27 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.005395/1.03, allocations: 5.078 MB / 0.9779 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/1.031, allocations: 0.7109 MB / 0.9786 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003888/1.031, allocations: 152 kB / 0.9787 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/1.031, allocations: 43.34 kB / 0.9788 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 2.264e-06/1.031, allocations: 0 / 0.9788 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.001652/1.033, allocations: 0.9354 MB / 0.9797 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/1.033, allocations: 60.5 kB / 0.9798 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008294/1.034, allocations: 0.8608 MB / 0.9806 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.84e-05/1.034, allocations: 42.73 kB / 0.9806 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/1.034, allocations: 0.5578 MB / 0.9812 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/1.034, allocations: 246.7 kB / 0.9814 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/1.034, allocations: 15.34 kB / 0.9814 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.034, allocations: 340.2 kB / 0.9818 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/1.035, allocations: 248.2 kB / 0.982 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/1.035, allocations: 437 kB / 0.9824 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/1.036, allocations: 310.2 kB / 0.9827 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.036, allocations: 2.656 kB / 0.9827 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001116/1.037, allocations: 0.8269 MB / 0.9835 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006099/1.037, allocations: 1.839 MB / 0.9853 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.037, allocations: 2.812 kB / 0.9853 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/1.037, allocations: 13.12 kB / 0.9853 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/1.039, allocations: 253.6 kB / 0.9856 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/1.04, allocations: 1.398 MB / 0.9869 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008574/1.041, allocations: 118.6 kB / 0.987 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.574e-05/1.041, allocations: 31.44 kB / 0.9871 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/1.041, allocations: 5.719 kB / 0.9871 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001011/1.042, allocations: 0.7018 MB / 0.9878 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.042, allocations: 6.344 kB / 0.9878 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.634e-06/1.042, allocations: 11.38 kB / 0.9878 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/1.044, allocations: 253.4 kB / 0.988 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/1.045, allocations: 1.402 MB / 0.9894 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009187/1.046, allocations: 106.8 kB / 0.9895 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/1.046, allocations: 27.62 kB / 0.9895 GB, free: 9.355 MB / 0.7325 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005888/1.046, allocations: 371.8 kB / 0.9899 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/1.047, allocations: 113 kB / 0.99 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/1.048, allocations: 0.7881 MB / 0.9908 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/1.048, allocations: 11.98 kB / 0.9908 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/1.048, allocations: 0 / 0.9908 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00121/1.049, allocations: 0.7018 MB / 0.9915 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/1.052, allocations: 1.928 MB / 0.9933 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.052, allocations: 6.719 kB / 0.9933 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006571/1.053, allocations: 144.4 kB / 0.9935 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003998/1.053, allocations: 47.95 kB / 0.9935 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/1.053, allocations: 21.17 kB / 0.9935 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/1.055, allocations: 1.348 MB / 0.9949 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.055, allocations: 9.453 kB / 0.9949 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/1.056, allocations: 1.346 MB / 0.9962 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004149/1.057, allocations: 257.4 kB / 0.9964 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/1.057, allocations: 17.47 kB / 0.9964 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006136/1.058, allocations: 53.61 kB / 0.9965 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/1.058, allocations: 47.59 kB / 0.9965 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/1.058, allocations: 25.86 kB / 0.9966 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006825/1.058, allocations: 0.583 MB / 0.9971 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.61e-07/1.058, allocations: 6.844 kB / 0.9971 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001419/1.06, allocations: 0.5306 MB / 0.9977 GB, free: 5.461 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004416/1.06, allocations: 205.7 kB / 0.9979 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003098/1.063, allocations: 1.183 MB / 0.999 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.063, allocations: 0 / 0.999 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006864/1.064, allocations: 442 kB / 0.9994 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/1.066, allocations: 0.4996 MB / 0.9999 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003893/1.07, allocations: 2.666 MB / 1.003 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006673/1.071, allocations: 1.167 MB / 1.004 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009697/1.072, allocations: 275.5 kB / 1.004 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/1.072, allocations: 83.92 kB / 1.004 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of SimCode: time 8.82e-07/1.072, allocations: 0 / 1.004 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of Templates: time 0.02689/1.099, allocations: 16.39 MB / 1.02 GB, free: 8.254 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: