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.001304/0.001304, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001526/0.001526, allocations: 190.4 kB / 16.25 MB, free: 6.641 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.364/1.364, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.761/2.761, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 65.05 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.339, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.9301/1.269, allocations: 196.3 MB / 1.259 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0161/1.285, allocations: 10.28 MB / 1.269 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002661/1.288, allocations: 49.12 kB / 1.269 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002317/1.29, allocations: 496.3 kB / 1.27 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007417/1.298, allocations: 1.838 MB / 1.272 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004503/1.302, allocations: 1.258 MB / 1.273 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00487/1.307, allocations: 2.813 MB / 1.276 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002071/1.309, allocations: 1.153 MB / 1.277 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006649/1.316, allocations: 1.662 MB / 1.278 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002841/1.319, allocations: 1.008 MB / 1.279 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003008/1.319, allocations: 120.4 kB / 1.28 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00593/1.325, allocations: 2.225 MB / 1.282 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001001/1.326, allocations: 432.8 kB / 1.282 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001983/1.328, allocations: 0.7085 MB / 1.283 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007536/1.336, allocations: 2.588 MB / 1.285 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.336, allocations: 1.281 kB / 1.285 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.755e-06/1.336, allocations: 0.9062 kB / 1.285 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.688e-05/1.336, allocations: 0 / 1.285 GB, free: 5.312 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.004224/1.34, allocations: 1.817 MB / 1.287 GB, free: 20.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/1.34, allocations: 10.89 kB / 1.287 GB, free: 20.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002472/1.343, allocations: 369.3 kB / 1.288 GB, free: 20.28 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/1.344, allocations: 0.9198 MB / 1.288 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.997e-05/1.344, allocations: 79.84 kB / 1.288 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/1.345, allocations: 99.47 kB / 1.289 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/1.347, allocations: 1.112 MB / 1.29 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/1.347, allocations: 2.156 kB / 1.29 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.432e-05/1.347, allocations: 40.47 kB / 1.29 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/1.347, allocations: 43.34 kB / 1.29 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/1.348, allocations: 0.814 MB / 1.291 GB, free: 19.7 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.006905/1.355, allocations: 5.07 MB / 1.295 GB, free: 16.81 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/1.357, allocations: 0.6989 MB / 1.296 GB, free: 16.78 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006116/1.357, allocations: 353.5 kB / 1.297 GB, free: 16.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007056/1.358, allocations: 320.6 kB / 1.297 GB, free: 16.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.124e-05/1.358, allocations: 41.72 kB / 1.297 GB, free: 16.45 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.716e-06/1.358, allocations: 0 / 1.297 GB, free: 16.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.00247/1.361, allocations: 0.9406 MB / 1.298 GB, free: 16.34 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/1.361, allocations: 59.78 kB / 1.298 GB, free: 16.28 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/1.362, allocations: 0.8822 MB / 1.299 GB, free: 16.12 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.813e-05/1.362, allocations: 40.86 kB / 1.299 GB, free: 16.09 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/1.363, allocations: 0.5601 MB / 1.299 GB, free: 15.88 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/1.363, allocations: 251.4 kB / 1.3 GB, free: 15.71 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/1.363, allocations: 141 kB / 1.3 GB, free: 15.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.363, allocations: 336.8 kB / 1.3 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/1.364, allocations: 258.4 kB / 1.3 GB, free: 15.38 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006074/1.364, allocations: 450.3 kB / 1.301 GB, free: 15.18 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/1.365, allocations: 0.7069 MB / 1.301 GB, free: 15 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.365, allocations: 1.562 kB / 1.301 GB, free: 15 MB / 1.014 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001676/1.367, allocations: 0.8318 MB / 1.302 GB, free: 14.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/1.367, allocations: 6.562 kB / 1.302 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/1.367, allocations: 5.469 kB / 1.302 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/1.367, allocations: 9.531 kB / 1.302 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/1.369, allocations: 265.3 kB / 1.302 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/1.37, allocations: 1.493 MB / 1.304 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/1.372, allocations: 121.8 kB / 1.304 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.407e-05/1.372, allocations: 32.47 kB / 1.304 GB, free: 13.42 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000955/1.373, allocations: 478.5 kB / 1.304 GB, free: 13.34 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006045/1.373, allocations: 452.4 kB / 1.305 GB, free: 13.13 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001101/1.374, allocations: 0.7041 MB / 1.306 GB, free: 12.95 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.378e-06/1.374, allocations: 2.844 kB / 1.306 GB, free: 12.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001605/1.376, allocations: 0.8342 MB / 1.306 GB, free: 12.85 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/1.376, allocations: 11.34 kB / 1.306 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.376, allocations: 8.781 kB / 1.306 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/1.376, allocations: 9 kB / 1.306 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/1.378, allocations: 264.9 kB / 1.307 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/1.379, allocations: 1.499 MB / 1.308 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/1.38, allocations: 98.67 kB / 1.308 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-05/1.38, allocations: 31.5 kB / 1.308 GB, free: 11.38 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.0003104/1.381, allocations: 237.6 kB / 1.309 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/1.381, allocations: 115.8 kB / 1.309 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/1.383, allocations: 0.7882 MB / 1.309 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/1.383, allocations: 11.84 kB / 1.309 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/1.383, allocations: 0 / 1.309 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00139/1.384, allocations: 0.7087 MB / 1.31 GB, free: 10.87 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003841/1.388, allocations: 1.933 MB / 1.312 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/1.388, allocations: 4.344 kB / 1.312 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007639/1.389, allocations: 139.7 kB / 1.312 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000365/1.389, allocations: 41.23 kB / 1.312 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-05/1.389, allocations: 19.16 kB / 1.312 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/1.39, allocations: 1.455 MB / 1.314 GB, free: 9.086 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.391, allocations: 1.469 kB / 1.314 GB, free: 9.086 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/1.393, allocations: 1.228 MB / 1.315 GB, free: 8.809 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000538/1.393, allocations: 256.3 kB / 1.315 GB, free: 8.648 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/1.393, allocations: 15.97 kB / 1.315 GB, free: 8.648 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007045/1.394, allocations: 58.53 kB / 1.315 GB, free: 8.641 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/1.394, allocations: 55.19 kB / 1.315 GB, free: 8.629 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.952e-05/1.394, allocations: 23.95 kB / 1.315 GB, free: 8.629 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008624/1.395, allocations: 0.5924 MB / 1.316 GB, free: 8.52 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.71e-07/1.395, allocations: 2.812 kB / 1.316 GB, free: 8.52 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001678/1.397, allocations: 0.5393 MB / 1.316 GB, free: 8.43 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.0005672/1.397, allocations: 214.5 kB / 1.317 GB, free: 8.316 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004282/1.402, allocations: 1.282 MB / 1.318 GB, free: 8.277 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.402, allocations: 6.156 kB / 1.318 GB, free: 8.273 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008564/1.403, allocations: 445 kB / 1.318 GB, free: 8.164 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/1.405, allocations: 0.5211 MB / 1.319 GB, free: 8.078 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004172/1.41, allocations: 2.66 MB / 1.321 GB, free: 6.598 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006794/1.41, allocations: 1.141 MB / 1.322 GB, free: 5.879 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001307/1.412, allocations: 269.2 kB / 1.323 GB, free: 5.824 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/1.412, allocations: 79.16 kB / 1.323 GB, free: 5.816 MB / 1.014 GB Notification: Performance of SimCode: time 1.232e-06/1.412, allocations: 0 / 1.323 GB, free: 5.816 MB / 1.014 GB Notification: Performance of Templates: time 0.03342/1.445, allocations: 17.59 MB / 1.34 GB, free: 3.105 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)