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.001228/0.001228, allocations: 108 kB / 15.61 MB, free: 148 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.00138/0.00138, allocations: 196.8 kB / 16.53 MB, free: 6.656 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.755/2.755, allocations: 472.6 MB / 0.7451 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 62.39 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.291, allocations: 159.9 MB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.9421/1.233, allocations: 198.9 MB / 1.262 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0163/1.249, allocations: 10.37 MB / 1.272 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002653/1.252, allocations: 56.19 kB / 1.273 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002056/1.254, allocations: 0.575 MB / 1.273 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006931/1.261, allocations: 1.979 MB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005032/1.266, allocations: 1.376 MB / 1.276 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005042/1.271, allocations: 2.808 MB / 1.279 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002694/1.274, allocations: 1.173 MB / 1.28 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005887/1.28, allocations: 1.665 MB / 1.282 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002996/1.283, allocations: 0.9656 MB / 1.283 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007967/1.284, allocations: 119.9 kB / 1.283 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007086/1.291, allocations: 2.143 MB / 1.285 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001298/1.292, allocations: 430.9 kB / 1.285 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00276/1.295, allocations: 0.7084 MB / 1.286 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008308/1.303, allocations: 2.477 MB / 1.289 GB, free: 5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.303, allocations: 1.188 kB / 1.289 GB, free: 5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.883e-06/1.303, allocations: 3.938 kB / 1.289 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001071/1.303, allocations: 0.9375 kB / 1.289 GB, free: 4.996 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.006109/1.31, allocations: 1.819 MB / 1.29 GB, free: 20.04 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/1.31, allocations: 9.562 kB / 1.29 GB, free: 20.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002751/1.312, allocations: 374.5 kB / 1.291 GB, free: 19.96 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002381/1.315, allocations: 0.9142 MB / 1.292 GB, free: 19.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.327e-05/1.315, allocations: 77.19 kB / 1.292 GB, free: 19.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/1.315, allocations: 103.4 kB / 1.292 GB, free: 19.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/1.317, allocations: 1.111 MB / 1.293 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/1.317, allocations: 1.281 kB / 1.293 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.324e-05/1.318, allocations: 46.45 kB / 1.293 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-05/1.318, allocations: 35.7 kB / 1.293 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/1.319, allocations: 0.8089 MB / 1.294 GB, free: 19.38 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.006635/1.326, allocations: 5.098 MB / 1.299 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/1.327, allocations: 0.701 MB / 1.299 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005526/1.328, allocations: 358.1 kB / 1.3 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000659/1.328, allocations: 315.3 kB / 1.3 GB, free: 16.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/1.328, allocations: 46.72 kB / 1.3 GB, free: 16.13 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.474e-06/1.328, allocations: 0.7188 kB / 1.3 GB, free: 16.13 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.002124/1.331, allocations: 0.9414 MB / 1.301 GB, free: 16.03 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/1.331, allocations: 61.41 kB / 1.301 GB, free: 15.97 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/1.332, allocations: 0.8814 MB / 1.302 GB, free: 15.81 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.172e-05/1.332, allocations: 41.17 kB / 1.302 GB, free: 15.78 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/1.332, allocations: 0.5574 MB / 1.302 GB, free: 15.56 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/1.333, allocations: 251.3 kB / 1.303 GB, free: 15.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/1.333, allocations: 142.4 kB / 1.303 GB, free: 15.38 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.333, allocations: 336 kB / 1.303 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004832/1.333, allocations: 254.2 kB / 1.303 GB, free: 15.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000596/1.334, allocations: 451.7 kB / 1.304 GB, free: 14.87 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/1.335, allocations: 0.7039 MB / 1.305 GB, free: 14.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/1.335, allocations: 1.094 kB / 1.305 GB, free: 14.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001579/1.337, allocations: 0.8395 MB / 1.305 GB, free: 14.59 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/1.337, allocations: 6.812 kB / 1.305 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.337, allocations: 4.094 kB / 1.305 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/1.337, allocations: 10.16 kB / 1.305 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/1.338, allocations: 268.1 kB / 1.306 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/1.34, allocations: 1.482 MB / 1.307 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/1.341, allocations: 89.31 kB / 1.307 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.972e-05/1.341, allocations: 33.59 kB / 1.307 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009375/1.342, allocations: 478 kB / 1.308 GB, free: 13.03 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005656/1.343, allocations: 448.7 kB / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001033/1.344, allocations: 0.7112 MB / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.506e-06/1.344, allocations: 1.125 kB / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001527/1.345, allocations: 0.8341 MB / 1.31 GB, free: 12.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/1.345, allocations: 6.875 kB / 1.31 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.345, allocations: 5.188 kB / 1.31 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/1.345, allocations: 8.125 kB / 1.31 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/1.347, allocations: 267.1 kB / 1.31 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/1.348, allocations: 1.498 MB / 1.311 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009939/1.349, allocations: 71.84 kB / 1.311 GB, free: 11.06 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-05/1.349, allocations: 31.28 kB / 1.311 GB, free: 11.06 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.000314/1.35, allocations: 231.6 kB / 1.312 GB, free: 10.87 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/1.35, allocations: 113.3 kB / 1.312 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/1.352, allocations: 0.7929 MB / 1.313 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/1.352, allocations: 11 kB / 1.313 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/1.352, allocations: 0.9375 kB / 1.313 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001357/1.353, allocations: 0.7077 MB / 1.313 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003494/1.357, allocations: 1.936 MB / 1.315 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.357, allocations: 2.406 kB / 1.315 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007323/1.357, allocations: 140.4 kB / 1.315 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003402/1.358, allocations: 41.27 kB / 1.315 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.588e-05/1.358, allocations: 16.81 kB / 1.315 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/1.359, allocations: 1.451 MB / 1.317 GB, free: 8.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.359, allocations: 5.688 kB / 1.317 GB, free: 8.77 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/1.361, allocations: 1.226 MB / 1.318 GB, free: 8.48 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005097/1.362, allocations: 253.1 kB / 1.318 GB, free: 8.324 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/1.362, allocations: 19.17 kB / 1.318 GB, free: 8.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006066/1.363, allocations: 25.25 kB / 1.318 GB, free: 8.32 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.979e-05/1.363, allocations: 54.53 kB / 1.318 GB, free: 8.309 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/1.363, allocations: 22.58 kB / 1.318 GB, free: 8.309 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009214/1.364, allocations: 0.5956 MB / 1.319 GB, free: 8.199 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/1.364, allocations: 0 / 1.319 GB, free: 8.199 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001694/1.365, allocations: 0.5364 MB / 1.319 GB, free: 8.113 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.00056/1.366, allocations: 227.4 kB / 1.32 GB, free: 7.984 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004042/1.37, allocations: 1.293 MB / 1.321 GB, free: 7.941 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.37, allocations: 0 / 1.321 GB, free: 7.941 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007852/1.371, allocations: 444.3 kB / 1.321 GB, free: 7.832 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/1.373, allocations: 0.5223 MB / 1.322 GB, free: 7.75 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003942/1.377, allocations: 2.21 MB / 1.324 GB, free: 6.727 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000737/1.378, allocations: 1.139 MB / 1.325 GB, free: 6.008 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001293/1.379, allocations: 273.7 kB / 1.325 GB, free: 5.949 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/1.38, allocations: 81.28 kB / 1.325 GB, free: 5.941 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/1.38, allocations: 0 / 1.325 GB, free: 5.941 MB / 1.014 GB Notification: Performance of Templates: time 0.03258/1.412, allocations: 17.64 MB / 1.343 GB, free: 2.684 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)