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.001525/0.001526, allocations: 108 kB / 15.61 MB, free: 152 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.001215/0.001215, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.58 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3163, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.9102/1.227, allocations: 198.9 MB / 1.262 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01556/1.242, allocations: 10.37 MB / 1.272 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002532/1.245, allocations: 53.59 kB / 1.273 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001848/1.247, allocations: 0.58 MB / 1.273 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006203/1.253, allocations: 1.975 MB / 1.275 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004554/1.257, allocations: 1.374 MB / 1.276 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004797/1.262, allocations: 2.81 MB / 1.279 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002291/1.265, allocations: 1.175 MB / 1.28 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006864/1.271, allocations: 1.664 MB / 1.282 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00299/1.274, allocations: 0.9623 MB / 1.283 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003606/1.275, allocations: 121.2 kB / 1.283 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007218/1.282, allocations: 2.143 MB / 1.285 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008608/1.283, allocations: 428.8 kB / 1.285 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001419/1.284, allocations: 0.7145 MB / 1.286 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006545/1.291, allocations: 2.471 MB / 1.289 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.291, allocations: 1.031 kB / 1.289 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.134e-06/1.291, allocations: 0 / 1.289 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.122e-05/1.291, allocations: 0 / 1.289 GB, free: 4.914 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.004451/1.295, allocations: 1.823 MB / 1.29 GB, free: 19.95 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/1.296, allocations: 10.28 kB / 1.29 GB, free: 19.95 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/1.298, allocations: 370.4 kB / 1.291 GB, free: 19.88 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/1.3, allocations: 0.918 MB / 1.292 GB, free: 19.51 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.36e-05/1.3, allocations: 80.72 kB / 1.292 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/1.3, allocations: 107.8 kB / 1.292 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002538/1.303, allocations: 1.11 MB / 1.293 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/1.303, allocations: 1.125 kB / 1.293 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.694e-05/1.303, allocations: 41.72 kB / 1.293 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.176e-05/1.303, allocations: 36.84 kB / 1.293 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/1.304, allocations: 0.8121 MB / 1.294 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.007418/1.312, allocations: 5.094 MB / 1.299 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/1.313, allocations: 0.7052 MB / 1.299 GB, free: 16.38 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005476/1.314, allocations: 353.8 kB / 1.3 GB, free: 16.37 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006361/1.314, allocations: 315.6 kB / 1.3 GB, free: 16.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/1.314, allocations: 41.34 kB / 1.3 GB, free: 16.05 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 3.016e-06/1.314, allocations: 1.125 kB / 1.3 GB, free: 16.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.00215/1.317, allocations: 0.9442 MB / 1.301 GB, free: 15.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/1.317, allocations: 59.84 kB / 1.301 GB, free: 15.88 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/1.318, allocations: 0.8822 MB / 1.302 GB, free: 15.73 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.186e-05/1.318, allocations: 40.7 kB / 1.302 GB, free: 15.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003968/1.318, allocations: 0.563 MB / 1.303 GB, free: 15.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/1.318, allocations: 246.1 kB / 1.303 GB, free: 15.32 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/1.319, allocations: 142.5 kB / 1.303 GB, free: 15.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001627/1.319, allocations: 336.1 kB / 1.303 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/1.319, allocations: 260.8 kB / 1.303 GB, free: 14.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/1.32, allocations: 445.9 kB / 1.304 GB, free: 14.79 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/1.321, allocations: 0.7125 MB / 1.305 GB, free: 14.61 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.321, allocations: 3.156 kB / 1.305 GB, free: 14.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001442/1.322, allocations: 0.8292 MB / 1.305 GB, free: 14.51 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/1.322, allocations: 8.031 kB / 1.305 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/1.322, allocations: 3.969 kB / 1.305 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/1.323, allocations: 9.344 kB / 1.305 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/1.324, allocations: 263.3 kB / 1.306 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/1.326, allocations: 1.489 MB / 1.307 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009387/1.327, allocations: 86 kB / 1.307 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.85e-05/1.327, allocations: 34.75 kB / 1.307 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009774/1.328, allocations: 478.1 kB / 1.308 GB, free: 12.94 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000564/1.328, allocations: 450.8 kB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00105/1.329, allocations: 0.7004 MB / 1.309 GB, free: 12.56 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.727e-06/1.329, allocations: 1.125 kB / 1.309 GB, free: 12.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.00153/1.331, allocations: 0.8407 MB / 1.31 GB, free: 12.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/1.331, allocations: 7.438 kB / 1.31 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.331, allocations: 9.359 kB / 1.31 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/1.331, allocations: 8.625 kB / 1.31 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/1.332, allocations: 268.2 kB / 1.31 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/1.334, allocations: 1.496 MB / 1.311 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009446/1.335, allocations: 71.97 kB / 1.311 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/1.335, allocations: 32.59 kB / 1.311 GB, free: 10.97 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.0003164/1.335, allocations: 230.9 kB / 1.312 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/1.335, allocations: 116.1 kB / 1.312 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/1.337, allocations: 0.7909 MB / 1.313 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/1.337, allocations: 7.469 kB / 1.313 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/1.337, allocations: 3.094 kB / 1.313 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00141/1.339, allocations: 0.7071 MB / 1.313 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003367/1.342, allocations: 1.94 MB / 1.315 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.342, allocations: 1.469 kB / 1.315 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007045/1.343, allocations: 141 kB / 1.315 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003246/1.343, allocations: 37.78 kB / 1.315 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-05/1.343, allocations: 22.09 kB / 1.315 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/1.345, allocations: 1.455 MB / 1.317 GB, free: 8.676 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.345, allocations: 2.312 kB / 1.317 GB, free: 8.676 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/1.347, allocations: 1.232 MB / 1.318 GB, free: 8.387 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004908/1.347, allocations: 247.4 kB / 1.318 GB, free: 8.23 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/1.347, allocations: 16.53 kB / 1.318 GB, free: 8.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/1.348, allocations: 21.16 kB / 1.318 GB, free: 8.23 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.399e-05/1.348, allocations: 55.45 kB / 1.318 GB, free: 8.219 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/1.348, allocations: 24.34 kB / 1.318 GB, free: 8.219 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009403/1.349, allocations: 0.5934 MB / 1.319 GB, free: 8.109 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.41e-07/1.349, allocations: 0 / 1.319 GB, free: 8.109 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001617/1.351, allocations: 0.5352 MB / 1.319 GB, free: 8.023 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.000544/1.351, allocations: 224.9 kB / 1.32 GB, free: 7.902 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003841/1.355, allocations: 1.293 MB / 1.321 GB, free: 7.859 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.355, allocations: 0 / 1.321 GB, free: 7.859 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007358/1.356, allocations: 454.6 kB / 1.321 GB, free: 7.746 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/1.358, allocations: 0.5134 MB / 1.322 GB, free: 7.668 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003708/1.362, allocations: 2.2 MB / 1.324 GB, free: 6.645 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006906/1.363, allocations: 1.145 MB / 1.325 GB, free: 5.926 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001204/1.364, allocations: 275.3 kB / 1.325 GB, free: 5.863 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/1.364, allocations: 77.81 kB / 1.325 GB, free: 5.855 MB / 1.014 GB Notification: Performance of SimCode: time 9.82e-07/1.364, allocations: 0 / 1.325 GB, free: 5.855 MB / 1.014 GB Notification: Performance of Templates: time 0.03084/1.395, allocations: 17.65 MB / 1.343 GB, free: 2.613 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)