Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.00108/0.00108, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001151/0.001151, allocations: 195.4 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 60.14 kB / 0.9115 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.368, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.9774/1.345, allocations: 196.3 MB / 1.259 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02715/1.373, allocations: 10.28 MB / 1.269 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003647/1.376, allocations: 55.81 kB / 1.269 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003233/1.38, allocations: 493.3 kB / 1.27 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01053/1.39, allocations: 1.837 MB / 1.272 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006348/1.397, allocations: 1.261 MB / 1.273 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006331/1.403, allocations: 2.812 MB / 1.276 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00262/1.406, allocations: 1.157 MB / 1.277 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008119/1.414, allocations: 1.653 MB / 1.278 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004132/1.418, allocations: 1.017 MB / 1.279 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005395/1.418, allocations: 119.2 kB / 1.28 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01088/1.429, allocations: 2.224 MB / 1.282 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00167/1.431, allocations: 436 kB / 1.282 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002902/1.434, allocations: 0.7089 MB / 1.283 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008545/1.443, allocations: 2.586 MB / 1.285 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/1.443, allocations: 0 / 1.285 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.305e-06/1.443, allocations: 2.156 kB / 1.285 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001097/1.443, allocations: 0.6094 kB / 1.285 GB, free: 4.902 MB / 0.9981 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.006591/1.449, allocations: 1.815 MB / 1.287 GB, free: 19.95 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/1.449, allocations: 10.28 kB / 1.287 GB, free: 19.95 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003036/1.452, allocations: 371.2 kB / 1.288 GB, free: 19.87 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002682/1.455, allocations: 0.9211 MB / 1.288 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.911e-05/1.455, allocations: 78.75 kB / 1.288 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003392/1.456, allocations: 100.2 kB / 1.289 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002849/1.458, allocations: 1.111 MB / 1.29 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/1.459, allocations: 2.156 kB / 1.29 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/1.459, allocations: 42.84 kB / 1.29 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.326e-05/1.459, allocations: 36.31 kB / 1.29 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/1.461, allocations: 0.8102 MB / 1.291 GB, free: 19.29 MB / 1.014 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.008897/1.47, allocations: 5.068 MB / 1.295 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/1.472, allocations: 0.7025 MB / 1.296 GB, free: 16.38 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000762/1.472, allocations: 357.5 kB / 1.297 GB, free: 16.37 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008064/1.473, allocations: 320.5 kB / 1.297 GB, free: 16.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/1.473, allocations: 42.47 kB / 1.297 GB, free: 16.04 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 4.338e-06/1.473, allocations: 0 / 1.297 GB, free: 16.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.003264/1.477, allocations: 0.9396 MB / 1.298 GB, free: 15.94 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/1.477, allocations: 61.94 kB / 1.298 GB, free: 15.88 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/1.479, allocations: 0.8825 MB / 1.299 GB, free: 15.72 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001794/1.479, allocations: 39.8 kB / 1.299 GB, free: 15.69 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005075/1.479, allocations: 0.5584 MB / 1.299 GB, free: 15.47 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/1.48, allocations: 250.9 kB / 1.3 GB, free: 15.31 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003056/1.48, allocations: 136 kB / 1.3 GB, free: 15.29 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.48, allocations: 341.4 kB / 1.3 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005673/1.481, allocations: 259.6 kB / 1.3 GB, free: 14.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006629/1.481, allocations: 448.3 kB / 1.301 GB, free: 14.78 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/1.483, allocations: 0.7069 MB / 1.301 GB, free: 14.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/1.483, allocations: 5.406 kB / 1.301 GB, free: 14.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001931/1.485, allocations: 0.8285 MB / 1.302 GB, free: 14.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/1.485, allocations: 12.11 kB / 1.302 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/1.485, allocations: 10.44 kB / 1.302 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/1.485, allocations: 9.344 kB / 1.302 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/1.487, allocations: 259.6 kB / 1.302 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/1.488, allocations: 1.491 MB / 1.304 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/1.49, allocations: 121.2 kB / 1.304 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.152e-05/1.49, allocations: 33.62 kB / 1.304 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009586/1.491, allocations: 477.1 kB / 1.304 GB, free: 12.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006401/1.491, allocations: 455.3 kB / 1.305 GB, free: 12.73 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001172/1.492, allocations: 0.702 MB / 1.306 GB, free: 12.55 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.503e-06/1.492, allocations: 5.953 kB / 1.306 GB, free: 12.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001695/1.494, allocations: 0.8363 MB / 1.306 GB, free: 12.44 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/1.494, allocations: 12.47 kB / 1.306 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.494, allocations: 4.375 kB / 1.306 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/1.494, allocations: 9.406 kB / 1.306 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/1.496, allocations: 265.7 kB / 1.307 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/1.497, allocations: 1.492 MB / 1.308 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/1.498, allocations: 102 kB / 1.308 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.904e-05/1.499, allocations: 34.41 kB / 1.308 GB, free: 10.96 MB / 1.014 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.0003349/1.499, allocations: 234.6 kB / 1.309 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/1.499, allocations: 114.2 kB / 1.309 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/1.501, allocations: 0.7915 MB / 1.309 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/1.501, allocations: 10.81 kB / 1.309 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/1.501, allocations: 1.5 kB / 1.309 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001434/1.503, allocations: 0.7131 MB / 1.31 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004159/1.507, allocations: 1.93 MB / 1.312 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/1.507, allocations: 2.812 kB / 1.312 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007585/1.508, allocations: 141 kB / 1.312 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003698/1.508, allocations: 41.33 kB / 1.312 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-05/1.508, allocations: 17.22 kB / 1.312 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/1.51, allocations: 1.461 MB / 1.314 GB, free: 8.672 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.51, allocations: 2.281 kB / 1.314 GB, free: 8.672 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/1.512, allocations: 1.228 MB / 1.315 GB, free: 8.395 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006009/1.513, allocations: 253.8 kB / 1.315 GB, free: 8.234 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/1.513, allocations: 18.12 kB / 1.315 GB, free: 8.234 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000921/1.514, allocations: 61.25 kB / 1.315 GB, free: 8.223 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/1.514, allocations: 46.83 kB / 1.315 GB, free: 8.215 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.724e-05/1.514, allocations: 28.42 kB / 1.315 GB, free: 8.215 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00113/1.515, allocations: 0.5943 MB / 1.316 GB, free: 8.105 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.31e-07/1.515, allocations: 3.938 kB / 1.316 GB, free: 8.102 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00243/1.517, allocations: 0.5331 MB / 1.316 GB, free: 8.016 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,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.000702/1.518, allocations: 216.9 kB / 1.317 GB, free: 7.902 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004367/1.523, allocations: 1.284 MB / 1.318 GB, free: 7.859 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.523, allocations: 1.406 kB / 1.318 GB, free: 7.859 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009628/1.524, allocations: 451.8 kB / 1.318 GB, free: 7.75 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/1.526, allocations: 0.5219 MB / 1.319 GB, free: 7.672 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004927/1.531, allocations: 2.653 MB / 1.321 GB, free: 6.191 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009491/1.532, allocations: 1.144 MB / 1.322 GB, free: 5.473 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001371/1.534, allocations: 277.8 kB / 1.323 GB, free: 5.406 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/1.534, allocations: 81.36 kB / 1.323 GB, free: 5.398 MB / 1.014 GB Notification: Performance of SimCode: time 8.92e-07/1.534, allocations: 0 / 1.323 GB, free: 5.398 MB / 1.014 GB Notification: Performance of Templates: time 0.03297/1.567, allocations: 17.57 MB / 1.34 GB, free: 2.676 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)