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.001679/0.001679, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.554/1.554, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.754/1.754, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001463/0.001463, allocations: 67.2 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.255, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.734/0.989, allocations: 198.9 MB / 0.9775 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01708/1.006, allocations: 10.33 MB / 0.9876 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00316/1.009, allocations: 60.66 kB / 0.9877 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001921/1.011, allocations: 0.5649 MB / 0.9882 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006947/1.018, allocations: 1.976 MB / 0.9902 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004351/1.023, allocations: 1.373 MB / 0.9915 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005225/1.028, allocations: 2.795 MB / 0.9942 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002289/1.03, allocations: 1.178 MB / 0.9954 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005051/1.035, allocations: 1.648 MB / 0.997 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002599/1.038, allocations: 0.9697 MB / 0.998 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005219/1.038, allocations: 117.8 kB / 0.9981 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007931/1.046, allocations: 2.153 MB / 1 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001067/1.048, allocations: 429.6 kB / 1.001 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001421/1.049, allocations: 0.7071 MB / 1.001 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00554/1.054, allocations: 2.47 MB / 1.004 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/1.055, allocations: 4 kB / 1.004 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.929e-06/1.055, allocations: 0 / 1.004 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.639e-05/1.055, allocations: 3.938 kB / 1.004 GB, free: 3.555 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.004163/1.059, allocations: 1.815 MB / 1.005 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/1.059, allocations: 7.781 kB / 1.005 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002382/1.061, allocations: 364.2 kB / 1.006 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/1.063, allocations: 0.9099 MB / 1.007 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.22e-05/1.063, allocations: 78.34 kB / 1.007 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/1.063, allocations: 106.3 kB / 1.007 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/1.065, allocations: 1.108 MB / 1.008 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/1.065, allocations: 6.344 kB / 1.008 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.161e-05/1.065, allocations: 42.28 kB / 1.008 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.793e-05/1.065, allocations: 34.78 kB / 1.008 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/1.067, allocations: 0.8045 MB / 1.009 GB, free: 136 kB / 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.007183/1.074, allocations: 5.083 MB / 1.014 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/1.075, allocations: 0.7186 MB / 1.014 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005586/1.076, allocations: 355.2 kB / 1.015 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006434/1.077, allocations: 312.2 kB / 1.015 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/1.077, allocations: 46.3 kB / 1.015 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 3.176e-06/1.077, allocations: 3.938 kB / 1.015 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.002089/1.079, allocations: 0.9365 MB / 1.016 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/1.079, allocations: 58.81 kB / 1.016 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/1.08, allocations: 0.877 MB / 1.017 GB, free: 9.793 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/1.08, allocations: 43.11 kB / 1.017 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004334/1.08, allocations: 0.5521 MB / 1.018 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/1.081, allocations: 255.1 kB / 1.018 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/1.081, allocations: 147.1 kB / 1.018 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.081, allocations: 331.2 kB / 1.018 GB, free: 8.629 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004968/1.082, allocations: 256.9 kB / 1.019 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00059/1.082, allocations: 450.8 kB / 1.019 GB, free: 8.148 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/1.083, allocations: 0.7005 MB / 1.02 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.083, allocations: 6.531 kB / 1.02 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001471/1.085, allocations: 0.8325 MB / 1.02 GB, free: 7.246 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.085, allocations: 10.34 kB / 1.02 GB, free: 7.246 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.085, allocations: 9.188 kB / 1.02 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/1.085, allocations: 7.438 kB / 1.02 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/1.086, allocations: 262.7 kB / 1.021 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/1.088, allocations: 1.493 MB / 1.022 GB, free: 5.633 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008486/1.089, allocations: 83.78 kB / 1.022 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/1.089, allocations: 41.95 kB / 1.022 GB, free: 5.559 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008498/1.09, allocations: 473.5 kB / 1.023 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005746/1.09, allocations: 446.3 kB / 1.023 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001046/1.091, allocations: 0.7064 MB / 1.024 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.246e-06/1.091, allocations: 2.406 kB / 1.024 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001386/1.093, allocations: 0.8312 MB / 1.025 GB, free: 4.016 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/1.093, allocations: 6.906 kB / 1.025 GB, free: 4.016 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.093, allocations: 5.656 kB / 1.025 GB, free: 4.016 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/1.093, allocations: 7.375 kB / 1.025 GB, free: 4.016 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/1.094, allocations: 271.7 kB / 1.025 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/1.095, allocations: 1.491 MB / 1.026 GB, free: 2.398 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007907/1.096, allocations: 63.53 kB / 1.026 GB, free: 2.355 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-05/1.096, allocations: 33.31 kB / 1.027 GB, free: 2.348 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.0002542/1.097, allocations: 231.9 kB / 1.027 GB, free: 2.129 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/1.097, allocations: 114.8 kB / 1.027 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/1.098, allocations: 0.7842 MB / 1.028 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/1.098, allocations: 15.78 kB / 1.028 GB, free: 1.609 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/1.098, allocations: 0 / 1.028 GB, free: 1.609 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001267/1.1, allocations: 0.7091 MB / 1.028 GB, free: 1.168 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/1.103, allocations: 1.935 MB / 1.03 GB, free: 15.86 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.103, allocations: 0 / 1.03 GB, free: 15.86 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006773/1.104, allocations: 145 kB / 1.03 GB, free: 15.82 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003295/1.104, allocations: 43.86 kB / 1.03 GB, free: 15.8 MB / 0.7638 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.032e-05/1.104, allocations: 19.61 kB / 1.03 GB, free: 15.79 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/1.106, allocations: 1.45 MB / 1.032 GB, free: 14.3 MB / 0.7638 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/1.106, allocations: 10.97 kB / 1.032 GB, free: 14.29 MB / 0.7638 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/1.108, allocations: 1.252 MB / 1.033 GB, free: 13.54 MB / 0.7638 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004001/1.108, allocations: 250.4 kB / 1.033 GB, free: 13.33 MB / 0.7638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/1.108, allocations: 20.81 kB / 1.033 GB, free: 13.31 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005602/1.109, allocations: 26.08 kB / 1.033 GB, free: 13.3 MB / 0.7638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-05/1.109, allocations: 43.22 kB / 1.033 GB, free: 13.27 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-05/1.109, allocations: 27.14 kB / 1.033 GB, free: 13.26 MB / 0.7638 GB Notification: Performance of sorting global known variables: time 0.0007862/1.11, allocations: 0.5886 MB / 1.034 GB, free: 12.92 MB / 0.7638 GB Notification: Performance of sort global known variables: time 1.4e-07/1.11, allocations: 2.375 kB / 1.034 GB, free: 12.92 MB / 0.7638 GB Notification: Performance of remove unused functions: time 0.001676/1.111, allocations: 0.5366 MB / 1.035 GB, free: 12.46 MB / 0.7638 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.0005004/1.112, allocations: 226 kB / 1.035 GB, free: 12.25 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.003979/1.116, allocations: 1.283 MB / 1.036 GB, free: 10.96 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.116, allocations: 4 kB / 1.036 GB, free: 10.96 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.0007889/1.117, allocations: 450.2 kB / 1.036 GB, free: 10.51 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/1.119, allocations: 0.5148 MB / 1.037 GB, free: 10.01 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/1.123, allocations: 2.195 MB / 1.039 GB, free: 7.773 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007222/1.124, allocations: 1.144 MB / 1.04 GB, free: 6.602 MB / 0.7638 GB Notification: Performance of simCode: alias equations: time 0.001002/1.125, allocations: 276.8 kB / 1.04 GB, free: 6.328 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/1.125, allocations: 79.42 kB / 1.041 GB, free: 6.25 MB / 0.7638 GB Notification: Performance of SimCode: time 8.61e-07/1.125, allocations: 0 / 1.041 GB, free: 6.25 MB / 0.7638 GB Notification: Performance of Templates: time 0.03253/1.157, allocations: 17.66 MB / 1.058 GB, free: 4.859 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)