Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.005783/0.005783, allocations: 102.1 kB / 15.73 MB, free: 5.988 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.00127/0.00127, allocations: 196.2 kB / 16.67 MB, free: 5.926 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.455/1.455, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.635/1.635, allocations: 251.7 MB / 0.5094 GB, free: 2.984 MB / 414.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.001664/0.001664, allocations: 67.91 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2318, allocations: 104.7 MB / 0.828 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.7798/1.012, allocations: 199.1 MB / 1.022 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01772/1.029, allocations: 10.42 MB / 1.033 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002507/1.032, allocations: 54.81 kB / 1.033 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001919/1.034, allocations: 0.5891 MB / 1.033 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005859/1.04, allocations: 2.058 MB / 1.035 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00386/1.044, allocations: 1.409 MB / 1.037 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004178/1.048, allocations: 2.863 MB / 1.039 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002264/1.05, allocations: 1.187 MB / 1.041 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005583/1.056, allocations: 1.747 MB / 1.042 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/1.058, allocations: 0.9784 MB / 1.043 GB, free: 252 kB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002258/1.058, allocations: 123.9 kB / 1.043 GB, free: 128 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004564/1.063, allocations: 2.156 MB / 1.045 GB, free: 13.96 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005513/1.063, allocations: 430.7 kB / 1.046 GB, free: 13.54 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001015/1.064, allocations: 0.7151 MB / 1.047 GB, free: 12.82 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.007023/1.071, allocations: 2.55 MB / 1.049 GB, free: 10.27 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/1.071, allocations: 0 / 1.049 GB, free: 10.27 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.434e-06/1.071, allocations: 0 / 1.049 GB, free: 10.27 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.914e-05/1.071, allocations: 4 kB / 1.049 GB, free: 10.27 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.003229/1.075, allocations: 1.826 MB / 1.051 GB, free: 8.383 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/1.075, allocations: 8.031 kB / 1.051 GB, free: 8.375 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/1.077, allocations: 365.9 kB / 1.051 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/1.078, allocations: 0.9714 MB / 1.052 GB, free: 6.996 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.147e-05/1.079, allocations: 85.95 kB / 1.052 GB, free: 6.91 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/1.079, allocations: 100 kB / 1.052 GB, free: 6.812 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/1.08, allocations: 1.115 MB / 1.053 GB, free: 5.613 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/1.08, allocations: 4 kB / 1.053 GB, free: 5.609 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-05/1.081, allocations: 41.12 kB / 1.053 GB, free: 5.57 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.677e-05/1.081, allocations: 38 kB / 1.054 GB, free: 5.535 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/1.082, allocations: 0.8079 MB / 1.054 GB, free: 4.723 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.005703/1.088, allocations: 5.07 MB / 1.059 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/1.089, allocations: 0.668 MB / 1.06 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005442/1.089, allocations: 374 kB / 1.06 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006183/1.09, allocations: 307.8 kB / 1.061 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/1.09, allocations: 43.11 kB / 1.061 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.875e-06/1.09, allocations: 4 kB / 1.061 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.001995/1.092, allocations: 0.9272 MB / 1.062 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/1.092, allocations: 55.97 kB / 1.062 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/1.093, allocations: 0.8841 MB / 1.062 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/1.093, allocations: 41.7 kB / 1.062 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000417/1.094, allocations: 0.5584 MB / 1.063 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/1.094, allocations: 252.3 kB / 1.063 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/1.094, allocations: 138.6 kB / 1.063 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.094, allocations: 345.8 kB / 1.064 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/1.095, allocations: 252.7 kB / 1.064 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006183/1.096, allocations: 443.1 kB / 1.064 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/1.097, allocations: 0.7054 MB / 1.065 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/1.097, allocations: 4.875 kB / 1.065 GB, free: 9.066 MB / 0.8106 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001442/1.098, allocations: 0.8357 MB / 1.066 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/1.098, allocations: 8 kB / 1.066 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/1.098, allocations: 4 kB / 1.066 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/1.098, allocations: 8 kB / 1.066 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/1.1, allocations: 267.8 kB / 1.066 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/1.101, allocations: 1.489 MB / 1.068 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000845/1.102, allocations: 87.3 kB / 1.068 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.051e-05/1.102, allocations: 31.94 kB / 1.068 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008764/1.103, allocations: 478 kB / 1.068 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005884/1.104, allocations: 443.1 kB / 1.069 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001055/1.105, allocations: 0.6976 MB / 1.069 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.238e-06/1.105, allocations: 0 / 1.069 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001439/1.106, allocations: 0.8314 MB / 1.07 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.106, allocations: 11.98 kB / 1.07 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.106, allocations: 4 kB / 1.07 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/1.106, allocations: 8.625 kB / 1.07 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/1.108, allocations: 263.6 kB / 1.07 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/1.109, allocations: 1.49 MB / 1.072 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000787/1.11, allocations: 59.52 kB / 1.072 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/1.11, allocations: 35.98 kB / 1.072 GB, free: 1.609 MB / 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.0002567/1.11, allocations: 232 kB / 1.072 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/1.111, allocations: 114.6 kB / 1.072 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/1.112, allocations: 0.7825 MB / 1.073 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/1.112, allocations: 12 kB / 1.073 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/1.112, allocations: 0 / 1.073 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001308/1.114, allocations: 0.7116 MB / 1.074 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003611/1.117, allocations: 1.922 MB / 1.076 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.882e-06/1.117, allocations: 4 kB / 1.076 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007299/1.118, allocations: 143.8 kB / 1.076 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003513/1.118, allocations: 44.77 kB / 1.076 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.389e-05/1.118, allocations: 12 kB / 1.076 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/1.12, allocations: 1.462 MB / 1.077 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/1.12, allocations: 7.984 kB / 1.077 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/1.122, allocations: 1.25 MB / 1.078 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004807/1.123, allocations: 259.4 kB / 1.079 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/1.123, allocations: 16 kB / 1.079 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006473/1.123, allocations: 23.98 kB / 1.079 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/1.123, allocations: 48.44 kB / 1.079 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.437e-05/1.124, allocations: 27.92 kB / 1.079 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008671/1.124, allocations: 0.6006 MB / 1.079 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/1.124, allocations: 0 / 1.079 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001619/1.126, allocations: 0.5374 MB / 1.08 GB, free: 9.055 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.000581/1.127, allocations: 216.9 kB / 1.08 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00374/1.13, allocations: 1.205 MB / 1.081 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.13, allocations: 0 / 1.081 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008693/1.131, allocations: 446.8 kB / 1.082 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/1.134, allocations: 0.514 MB / 1.082 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/1.138, allocations: 2.192 MB / 1.084 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.139, allocations: 1.147 MB / 1.086 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001087/1.14, allocations: 272.8 kB / 1.086 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/1.141, allocations: 79.42 kB / 1.086 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of SimCode: time 6.81e-07/1.141, allocations: 0 / 1.086 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of Templates: time 0.0359/1.176, allocations: 17.96 MB / 1.103 GB, free: 1.223 MB / 0.8419 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)