Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0012/0.0012, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00139/0.00139, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.912/2.912, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 64.36 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3491, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.8792/1.228, allocations: 196.6 MB / 1.259 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01665/1.245, allocations: 10.45 MB / 1.27 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002742/1.248, allocations: 54.69 kB / 1.27 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002086/1.25, allocations: 478.7 kB / 1.27 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006566/1.257, allocations: 1.841 MB / 1.272 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004334/1.261, allocations: 1.238 MB / 1.273 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006045/1.267, allocations: 3.67 MB / 1.277 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/1.269, allocations: 1.027 MB / 1.278 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006006/1.275, allocations: 1.511 MB / 1.279 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003202/1.279, allocations: 0.9766 MB / 1.28 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003185/1.279, allocations: 70.47 kB / 1.28 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007337/1.286, allocations: 2.395 MB / 1.283 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009258/1.287, allocations: 374.9 kB / 1.283 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001577/1.289, allocations: 0.6572 MB / 1.284 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007304/1.296, allocations: 2.538 MB / 1.286 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/1.296, allocations: 0 / 1.286 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.724e-06/1.296, allocations: 1.188 kB / 1.286 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.394e-05/1.296, allocations: 0 / 1.286 GB, free: 4.734 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.004598/1.301, allocations: 1.818 MB / 1.288 GB, free: 19.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/1.301, allocations: 9.438 kB / 1.288 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002688/1.304, allocations: 364.5 kB / 1.288 GB, free: 19.69 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/1.306, allocations: 0.9201 MB / 1.289 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.963e-05/1.306, allocations: 79.25 kB / 1.289 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/1.306, allocations: 100.5 kB / 1.289 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/1.308, allocations: 1.109 MB / 1.29 GB, free: 19.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/1.308, allocations: 5.219 kB / 1.29 GB, free: 19.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/1.309, allocations: 45.17 kB / 1.29 GB, free: 19.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.471e-05/1.309, allocations: 34.38 kB / 1.29 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/1.31, allocations: 0.8087 MB / 1.291 GB, free: 19.11 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.007379/1.318, allocations: 5.08 MB / 1.296 GB, free: 16.19 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/1.319, allocations: 0.6936 MB / 1.297 GB, free: 16.16 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006441/1.32, allocations: 356.4 kB / 1.297 GB, free: 16.15 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007022/1.321, allocations: 314.5 kB / 1.298 GB, free: 15.87 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/1.321, allocations: 51.8 kB / 1.298 GB, free: 15.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 4.308e-06/1.321, allocations: 0 / 1.298 GB, free: 15.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.002393/1.323, allocations: 0.9379 MB / 1.299 GB, free: 15.71 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/1.323, allocations: 65.12 kB / 1.299 GB, free: 15.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/1.324, allocations: 0.8791 MB / 1.299 GB, free: 15.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.732e-05/1.325, allocations: 40.64 kB / 1.299 GB, free: 15.47 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/1.325, allocations: 0.5557 MB / 1.3 GB, free: 15.25 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/1.325, allocations: 257.2 kB / 1.3 GB, free: 15.09 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/1.325, allocations: 139.9 kB / 1.3 GB, free: 15.07 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.326, allocations: 341 kB / 1.301 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005065/1.326, allocations: 256.4 kB / 1.301 GB, free: 14.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/1.327, allocations: 448.1 kB / 1.301 GB, free: 14.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/1.328, allocations: 0.7102 MB / 1.302 GB, free: 14.36 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/1.328, allocations: 5.031 kB / 1.302 GB, free: 14.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001718/1.33, allocations: 0.8315 MB / 1.303 GB, free: 14.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/1.33, allocations: 7.188 kB / 1.303 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.33, allocations: 4.531 kB / 1.303 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/1.33, allocations: 12.72 kB / 1.303 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/1.332, allocations: 259.8 kB / 1.303 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/1.333, allocations: 1.395 MB / 1.305 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/1.334, allocations: 124.3 kB / 1.305 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.959e-05/1.334, allocations: 28.44 kB / 1.305 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001117/1.336, allocations: 481.6 kB / 1.305 GB, free: 12.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006105/1.336, allocations: 451.6 kB / 1.306 GB, free: 12.54 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001132/1.337, allocations: 0.7029 MB / 1.306 GB, free: 12.35 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.428e-06/1.337, allocations: 1.125 kB / 1.306 GB, free: 12.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001697/1.339, allocations: 0.8347 MB / 1.307 GB, free: 12.24 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.339, allocations: 6.875 kB / 1.307 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.339, allocations: 5.5 kB / 1.307 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/1.339, allocations: 8.25 kB / 1.307 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/1.341, allocations: 266.9 kB / 1.307 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/1.342, allocations: 1.404 MB / 1.309 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/1.343, allocations: 103.9 kB / 1.309 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.748e-05/1.343, allocations: 38.48 kB / 1.309 GB, free: 10.84 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.000328/1.344, allocations: 222.6 kB / 1.309 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003331/1.344, allocations: 116.1 kB / 1.309 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/1.346, allocations: 0.7897 MB / 1.31 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/1.346, allocations: 9.625 kB / 1.31 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.346, allocations: 1.125 kB / 1.31 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001461/1.347, allocations: 0.7074 MB / 1.311 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004467/1.352, allocations: 1.939 MB / 1.313 GB, free: 9.926 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/1.352, allocations: 6.344 kB / 1.313 GB, free: 9.922 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007837/1.353, allocations: 141.1 kB / 1.313 GB, free: 9.922 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000468/1.353, allocations: 47.42 kB / 1.313 GB, free: 9.91 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.2e-05/1.353, allocations: 20.94 kB / 1.313 GB, free: 9.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/1.355, allocations: 1.347 MB / 1.314 GB, free: 8.621 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.355, allocations: 5.688 kB / 1.314 GB, free: 8.621 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/1.357, allocations: 1.234 MB / 1.315 GB, free: 8.332 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007149/1.358, allocations: 251.2 kB / 1.316 GB, free: 8.176 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/1.358, allocations: 15.53 kB / 1.316 GB, free: 8.176 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009433/1.359, allocations: 65.66 kB / 1.316 GB, free: 8.164 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/1.359, allocations: 49.33 kB / 1.316 GB, free: 8.152 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/1.359, allocations: 26.47 kB / 1.316 GB, free: 8.152 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001013/1.36, allocations: 0.5919 MB / 1.316 GB, free: 8.043 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.1e-07/1.36, allocations: 0 / 1.316 GB, free: 8.043 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002257/1.363, allocations: 0.5379 MB / 1.317 GB, free: 7.957 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.0006696/1.363, allocations: 211.9 kB / 1.317 GB, free: 7.844 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004045/1.367, allocations: 1.209 MB / 1.318 GB, free: 7.812 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.367, allocations: 4.062 kB / 1.318 GB, free: 7.809 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008295/1.368, allocations: 449.2 kB / 1.319 GB, free: 7.695 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/1.371, allocations: 0.5053 MB / 1.319 GB, free: 7.652 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004721/1.376, allocations: 2.655 MB / 1.322 GB, free: 6.176 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008965/1.377, allocations: 1.141 MB / 1.323 GB, free: 5.457 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001353/1.378, allocations: 275.2 kB / 1.323 GB, free: 5.395 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/1.379, allocations: 81.77 kB / 1.323 GB, free: 5.387 MB / 1.014 GB Notification: Performance of SimCode: time 8.71e-07/1.379, allocations: 0 / 1.323 GB, free: 5.387 MB / 1.014 GB Notification: Performance of Templates: time 0.03395/1.413, allocations: 16.99 MB / 1.34 GB, free: 1.898 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)