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.001294/0.001294, allocations: 107.3 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.001572/0.001572, allocations: 184 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.524/1.524, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.891/1.891, allocations: 292.3 MB / 0.5495 GB, free: 17.47 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.001567/0.001567, allocations: 71.89 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2376, allocations: 114.6 MB / 0.7841 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6953/0.933, allocations: 198.9 MB / 0.9783 GB, free: 3.594 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01706/0.9501, allocations: 10.33 MB / 0.9884 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002389/0.9525, allocations: 55.69 kB / 0.9884 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002141/0.9547, allocations: 0.5779 MB / 0.989 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007121/0.9619, allocations: 1.971 MB / 0.9909 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004662/0.9665, allocations: 1.375 MB / 0.9922 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005554/0.9721, allocations: 2.806 MB / 0.995 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002188/0.9743, allocations: 1.164 MB / 0.9961 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005295/0.9797, allocations: 1.663 MB / 0.9977 GB, free: 15.6 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002037/0.9817, allocations: 0.9678 MB / 0.9987 GB, free: 14.64 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.9819, allocations: 123.9 kB / 0.9988 GB, free: 14.52 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004955/0.9869, allocations: 2.148 MB / 1.001 GB, free: 12.36 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005027/0.9874, allocations: 426.7 kB / 1.001 GB, free: 11.95 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.9884, allocations: 0.7112 MB / 1.002 GB, free: 11.23 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005156/0.9936, allocations: 2.508 MB / 1.004 GB, free: 8.715 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.9936, allocations: 0 / 1.004 GB, free: 8.715 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.646e-06/0.9936, allocations: 4 kB / 1.004 GB, free: 8.711 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.687e-05/0.9937, allocations: 4 kB / 1.004 GB, free: 8.707 MB / 0.795 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.003346/0.997, allocations: 1.821 MB / 1.006 GB, free: 6.832 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.9971, allocations: 8.031 kB / 1.006 GB, free: 6.824 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.9992, allocations: 365.9 kB / 1.007 GB, free: 6.465 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/1.001, allocations: 0.9013 MB / 1.007 GB, free: 5.52 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/1.001, allocations: 81.94 kB / 1.008 GB, free: 5.441 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/1.001, allocations: 110 kB / 1.008 GB, free: 5.336 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/1.003, allocations: 1.103 MB / 1.009 GB, free: 4.172 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/1.003, allocations: 7.938 kB / 1.009 GB, free: 4.164 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.203e-05/1.003, allocations: 44 kB / 1.009 GB, free: 4.121 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.942e-05/1.003, allocations: 34 kB / 1.009 GB, free: 4.09 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/1.005, allocations: 0.8041 MB / 1.01 GB, free: 3.285 MB / 0.795 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.006205/1.011, allocations: 5.058 MB / 1.015 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/1.012, allocations: 0.7037 MB / 1.015 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005657/1.013, allocations: 358.4 kB / 1.016 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006164/1.014, allocations: 319.9 kB / 1.016 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/1.014, allocations: 39.12 kB / 1.016 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.876e-06/1.014, allocations: 0 / 1.016 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.002145/1.016, allocations: 0.9428 MB / 1.017 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/1.016, allocations: 55.97 kB / 1.017 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/1.017, allocations: 0.8722 MB / 1.018 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/1.017, allocations: 37.7 kB / 1.018 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006085/1.018, allocations: 0.5623 MB / 1.018 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003271/1.018, allocations: 256.3 kB / 1.019 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/1.018, allocations: 138.6 kB / 1.019 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002275/1.018, allocations: 333.9 kB / 1.019 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005127/1.019, allocations: 252.7 kB / 1.019 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005874/1.02, allocations: 459 kB / 1.02 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/1.021, allocations: 0.6937 MB / 1.02 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/1.021, allocations: 10.06 kB / 1.02 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001607/1.022, allocations: 0.8397 MB / 1.021 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.022, allocations: 9.25 kB / 1.021 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.022, allocations: 5.562 kB / 1.021 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/1.022, allocations: 11.94 kB / 1.021 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/1.024, allocations: 263.7 kB / 1.021 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/1.025, allocations: 1.489 MB / 1.023 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007287/1.026, allocations: 79.2 kB / 1.023 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.597e-05/1.026, allocations: 32.09 kB / 1.023 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007966/1.027, allocations: 478 kB / 1.023 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005832/1.028, allocations: 449.9 kB / 1.024 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001123/1.029, allocations: 0.7062 MB / 1.025 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.078e-06/1.029, allocations: 4 kB / 1.025 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001657/1.03, allocations: 0.8315 MB / 1.025 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/1.03, allocations: 4 kB / 1.025 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.03, allocations: 8 kB / 1.025 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/1.03, allocations: 8 kB / 1.025 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/1.032, allocations: 264.2 kB / 1.026 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/1.033, allocations: 1.503 MB / 1.027 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007837/1.034, allocations: 59.52 kB / 1.027 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/1.034, allocations: 30.27 kB / 1.027 GB, free: 136 kB / 0.8106 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.0003769/1.035, allocations: 235.3 kB / 1.027 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/1.035, allocations: 110.6 kB / 1.028 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/1.037, allocations: 0.7824 MB / 1.028 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/1.037, allocations: 11.98 kB / 1.028 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/1.037, allocations: 5.562 kB / 1.028 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001416/1.038, allocations: 0.7155 MB / 1.029 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003622/1.042, allocations: 1.922 MB / 1.031 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/1.042, allocations: 12.02 kB / 1.031 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006968/1.043, allocations: 135.9 kB / 1.031 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003203/1.043, allocations: 40.77 kB / 1.031 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/1.043, allocations: 19.98 kB / 1.031 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/1.044, allocations: 1.456 MB / 1.033 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/1.045, allocations: 4 kB / 1.033 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/1.047, allocations: 1.254 MB / 1.034 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006145/1.047, allocations: 255.5 kB / 1.034 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/1.048, allocations: 16 kB / 1.034 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005228/1.048, allocations: 23.98 kB / 1.034 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/1.048, allocations: 48.47 kB / 1.034 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/1.048, allocations: 31.92 kB / 1.034 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008361/1.049, allocations: 0.5926 MB / 1.035 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/1.049, allocations: 4 kB / 1.035 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001429/1.05, allocations: 0.5336 MB / 1.035 GB, free: 7.594 MB / 0.8262 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.0005047/1.051, allocations: 208.4 kB / 1.035 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003713/1.055, allocations: 1.201 MB / 1.037 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.055, allocations: 0 / 1.037 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007498/1.055, allocations: 460.4 kB / 1.037 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/1.058, allocations: 0.5189 MB / 1.038 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/1.061, allocations: 2.166 MB / 1.04 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007277/1.062, allocations: 1.144 MB / 1.041 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0008751/1.063, allocations: 273 kB / 1.041 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/1.063, allocations: 79.42 kB / 1.041 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of SimCode: time 9.92e-07/1.063, allocations: 0 / 1.041 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of Templates: time 0.03052/1.094, allocations: 17.66 MB / 1.058 GB, free: 228 kB / 0.8419 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)