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.008634/0.008634, allocations: 98.72 kB / 15.73 MB, free: 6.051 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.001803/0.001803, allocations: 194.5 kB / 16.67 MB, free: 5.977 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.549/1.549, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.659/1.659, allocations: 251.7 MB / 0.5094 GB, free: 3.055 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.002056/0.002056, allocations: 75.89 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2485, allocations: 104.7 MB / 0.828 GB, free: 204 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.7897/1.038, allocations: 199.1 MB / 1.022 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02052/1.059, allocations: 10.42 MB / 1.033 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002761/1.062, allocations: 54.88 kB / 1.033 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/1.064, allocations: 0.5873 MB / 1.033 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006116/1.07, allocations: 2.062 MB / 1.035 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004309/1.074, allocations: 1.413 MB / 1.037 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005408/1.079, allocations: 2.864 MB / 1.039 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/1.081, allocations: 1.195 MB / 1.041 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006556/1.088, allocations: 1.738 MB / 1.042 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002516/1.091, allocations: 0.966 MB / 1.043 GB, free: 412 kB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0005262/1.091, allocations: 120 kB / 1.043 GB, free: 292 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005541/1.097, allocations: 2.163 MB / 1.045 GB, free: 14.12 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0008376/1.098, allocations: 430.7 kB / 1.046 GB, free: 13.7 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001731/1.099, allocations: 0.7189 MB / 1.047 GB, free: 12.97 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00666/1.106, allocations: 2.554 MB / 1.049 GB, free: 10.41 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/1.106, allocations: 0 / 1.049 GB, free: 10.41 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.505e-06/1.106, allocations: 0 / 1.049 GB, free: 10.41 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.97e-05/1.106, allocations: 0 / 1.049 GB, free: 10.41 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.004704/1.111, allocations: 1.822 MB / 1.051 GB, free: 8.535 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/1.111, allocations: 12.03 kB / 1.051 GB, free: 8.523 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002304/1.113, allocations: 365.8 kB / 1.051 GB, free: 8.164 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/1.115, allocations: 0.9714 MB / 1.052 GB, free: 7.145 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-05/1.115, allocations: 81.95 kB / 1.052 GB, free: 7.062 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/1.115, allocations: 104 kB / 1.052 GB, free: 6.961 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/1.117, allocations: 1.119 MB / 1.053 GB, free: 5.758 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/1.117, allocations: 0 / 1.053 GB, free: 5.758 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.126e-05/1.117, allocations: 44 kB / 1.054 GB, free: 5.715 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/1.117, allocations: 34 kB / 1.054 GB, free: 5.684 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/1.119, allocations: 0.8041 MB / 1.054 GB, free: 4.875 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.006914/1.126, allocations: 5.078 MB / 1.059 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/1.127, allocations: 0.6742 MB / 1.06 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005975/1.128, allocations: 358.7 kB / 1.06 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00067/1.128, allocations: 307.8 kB / 1.061 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/1.129, allocations: 51 kB / 1.061 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.875e-06/1.129, allocations: 0 / 1.061 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.00234/1.131, allocations: 0.9349 MB / 1.062 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/1.131, allocations: 55.97 kB / 1.062 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/1.132, allocations: 0.8802 MB / 1.062 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.277e-05/1.132, allocations: 41.7 kB / 1.062 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004806/1.133, allocations: 0.5662 MB / 1.063 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/1.133, allocations: 240.4 kB / 1.063 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/1.133, allocations: 146.6 kB / 1.063 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002281/1.134, allocations: 333.9 kB / 1.064 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005389/1.134, allocations: 256.7 kB / 1.064 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007638/1.135, allocations: 452 kB / 1.064 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/1.136, allocations: 0.7054 MB / 1.065 GB, free: 9.211 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.136, allocations: 4 kB / 1.065 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001633/1.138, allocations: 0.828 MB / 1.066 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/1.138, allocations: 8 kB / 1.066 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/1.138, allocations: 4 kB / 1.066 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.261e-05/1.138, allocations: 8 kB / 1.066 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/1.14, allocations: 263.8 kB / 1.066 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/1.141, allocations: 1.495 MB / 1.068 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009914/1.142, allocations: 83.14 kB / 1.068 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.22e-05/1.143, allocations: 40.08 kB / 1.068 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001001/1.144, allocations: 474 kB / 1.068 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006298/1.144, allocations: 445.7 kB / 1.069 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00113/1.145, allocations: 0.7015 MB / 1.069 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.23e-06/1.145, allocations: 0 / 1.069 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001686/1.147, allocations: 0.8314 MB / 1.07 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.147, allocations: 4 kB / 1.07 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/1.147, allocations: 8 kB / 1.07 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/1.147, allocations: 8 kB / 1.07 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/1.149, allocations: 268.2 kB / 1.07 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/1.15, allocations: 1.488 MB / 1.072 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009419/1.151, allocations: 59.52 kB / 1.072 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-05/1.151, allocations: 28 kB / 1.072 GB, free: 1.762 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.0003081/1.151, allocations: 232 kB / 1.072 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/1.152, allocations: 110.6 kB / 1.072 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/1.153, allocations: 0.7882 MB / 1.073 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/1.153, allocations: 12 kB / 1.073 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/1.153, allocations: 0 / 1.073 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00135/1.155, allocations: 0.7116 MB / 1.074 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003668/1.159, allocations: 1.918 MB / 1.076 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/1.159, allocations: 12 kB / 1.076 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007382/1.159, allocations: 143.9 kB / 1.076 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003566/1.16, allocations: 32.84 kB / 1.076 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.281e-05/1.16, allocations: 27.98 kB / 1.076 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/1.161, allocations: 1.462 MB / 1.077 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/1.161, allocations: 4 kB / 1.077 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/1.163, allocations: 1.254 MB / 1.078 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004686/1.164, allocations: 259.5 kB / 1.079 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/1.164, allocations: 15.98 kB / 1.079 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006354/1.165, allocations: 27.98 kB / 1.079 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.735e-05/1.165, allocations: 40.5 kB / 1.079 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/1.165, allocations: 23.94 kB / 1.079 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008476/1.166, allocations: 0.6045 MB / 1.079 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.11e-07/1.166, allocations: 3.938 kB / 1.079 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0016/1.167, allocations: 0.5335 MB / 1.08 GB, free: 9.203 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.0005693/1.168, allocations: 215.8 kB / 1.08 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003674/1.172, allocations: 1.213 MB / 1.081 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.172, allocations: 0 / 1.081 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008061/1.172, allocations: 450.8 kB / 1.082 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/1.175, allocations: 0.516 MB / 1.082 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/1.179, allocations: 2.172 MB / 1.084 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008506/1.18, allocations: 1.147 MB / 1.086 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001044/1.181, allocations: 280.8 kB / 1.086 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/1.181, allocations: 83.42 kB / 1.086 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of SimCode: time 8.62e-07/1.181, allocations: 0 / 1.086 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of Templates: time 0.0356/1.217, allocations: 17.96 MB / 1.103 GB, free: 1.371 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)