Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.829/1.829, allocations: 292.3 MB / 308.1 MB, free: 4.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 193.8 kB / 376.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.1 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 104.4 kB / 0.748 GB, free: 61.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 56.16 kB / 0.8703 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3027, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.8663/1.169, allocations: 196.6 MB / 1.174 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0153/1.184, allocations: 10.41 MB / 1.184 GB, free: 52 kB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/1.187, allocations: 53.03 kB / 1.184 GB, free: 32 kB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001906/1.189, allocations: 475 kB / 1.185 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.006212/1.195, allocations: 1.833 MB / 1.187 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00376/1.199, allocations: 1.236 MB / 1.188 GB, free: 14.1 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.005406/1.204, allocations: 3.67 MB / 1.191 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/1.206, allocations: 1.021 MB / 1.192 GB, free: 12.28 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005018/1.211, allocations: 1.518 MB / 1.194 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002166/1.213, allocations: 0.9802 MB / 1.195 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001808/1.213, allocations: 66.72 kB / 1.195 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004815/1.218, allocations: 2.398 MB / 1.197 GB, free: 10.35 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0005188/1.219, allocations: 373.1 kB / 1.198 GB, free: 10.19 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0009597/1.22, allocations: 0.6579 MB / 1.198 GB, free: 9.797 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004673/1.224, allocations: 2.522 MB / 1.201 GB, free: 8.879 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/1.224, allocations: 0 / 1.201 GB, free: 8.879 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.223e-06/1.224, allocations: 0 / 1.201 GB, free: 8.879 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.827e-05/1.224, allocations: 1.438 kB / 1.201 GB, free: 8.879 MB / 0.7917 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.003584/1.228, allocations: 1.826 MB / 1.203 GB, free: 7.684 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.228, allocations: 9.469 kB / 1.203 GB, free: 7.684 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002148/1.23, allocations: 360.9 kB / 1.203 GB, free: 7.59 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/1.232, allocations: 0.9082 MB / 1.204 GB, free: 7.035 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.857e-05/1.232, allocations: 88.66 kB / 1.204 GB, free: 6.988 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/1.232, allocations: 104.1 kB / 1.204 GB, free: 6.953 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/1.234, allocations: 1.097 MB / 1.205 GB, free: 6.43 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/1.234, allocations: 5 kB / 1.205 GB, free: 6.426 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.153e-05/1.234, allocations: 42.19 kB / 1.205 GB, free: 6.395 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.272e-05/1.234, allocations: 39.11 kB / 1.205 GB, free: 6.391 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/1.236, allocations: 0.807 MB / 1.206 GB, free: 6.109 MB / 0.7917 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.006608/1.243, allocations: 5.051 MB / 1.211 GB, free: 2.312 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/1.244, allocations: 0.7217 MB / 1.212 GB, free: 2 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000665/1.245, allocations: 354.6 kB / 1.212 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006715/1.245, allocations: 313.7 kB / 1.212 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/1.246, allocations: 41.84 kB / 1.212 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=70): time 6.122e-06/1.246, allocations: 0 / 1.212 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of matching and sorting (n=70): time 0.002255/1.248, allocations: 0.9374 MB / 1.213 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/1.248, allocations: 62.66 kB / 1.213 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/1.249, allocations: 0.8776 MB / 1.214 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/1.249, allocations: 41.27 kB / 1.214 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005063/1.25, allocations: 0.5531 MB / 1.215 GB, free: 268 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/1.25, allocations: 253.2 kB / 1.215 GB, free: 64 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002986/1.25, allocations: 137.5 kB / 1.215 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000169/1.25, allocations: 334.4 kB / 1.215 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005366/1.251, allocations: 260.1 kB / 1.216 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006523/1.252, allocations: 448.1 kB / 1.216 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/1.253, allocations: 0.7042 MB / 1.217 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/1.253, allocations: 5.312 kB / 1.217 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001592/1.254, allocations: 0.8276 MB / 1.218 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/1.254, allocations: 12.34 kB / 1.218 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/1.255, allocations: 5.344 kB / 1.218 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/1.255, allocations: 8.188 kB / 1.218 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/1.256, allocations: 270.2 kB / 1.218 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/1.258, allocations: 1.392 MB / 1.219 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/1.259, allocations: 116.9 kB / 1.219 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.926e-05/1.259, allocations: 39.53 kB / 1.219 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009958/1.26, allocations: 472.8 kB / 1.22 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007011/1.261, allocations: 451.1 kB / 1.22 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001222/1.262, allocations: 0.6998 MB / 1.221 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.959e-06/1.262, allocations: 1.828 kB / 1.221 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.00162/1.263, allocations: 0.8331 MB / 1.222 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/1.263, allocations: 7.578 kB / 1.222 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/1.263, allocations: 5.562 kB / 1.222 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/1.263, allocations: 8.344 kB / 1.222 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/1.265, allocations: 268.6 kB / 1.222 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/1.266, allocations: 1.399 MB / 1.223 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/1.267, allocations: 91.58 kB / 1.223 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.076e-05/1.268, allocations: 33.22 kB / 1.223 GB, free: 10.15 MB / 0.8073 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.0002932/1.268, allocations: 230.6 kB / 1.224 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/1.268, allocations: 114 kB / 1.224 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001969/1.27, allocations: 0.7873 MB / 1.225 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/1.27, allocations: 7.406 kB / 1.225 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/1.27, allocations: 1.156 kB / 1.225 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0014/1.271, allocations: 0.7074 MB / 1.225 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004561/1.276, allocations: 1.934 MB / 1.227 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/1.276, allocations: 7.609 kB / 1.227 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008379/1.277, allocations: 148.1 kB / 1.227 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004866/1.277, allocations: 47.02 kB / 1.227 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.45e-05/1.277, allocations: 17.72 kB / 1.227 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/1.279, allocations: 1.346 MB / 1.229 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.279, allocations: 1.562 kB / 1.229 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02297/1.302, allocations: 7.988 MB / 1.236 GB, free: 2.758 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006809/1.303, allocations: 259.2 kB / 1.237 GB, free: 2.559 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/1.303, allocations: 18.38 kB / 1.237 GB, free: 2.547 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008423/1.304, allocations: 60.52 kB / 1.237 GB, free: 2.527 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/1.304, allocations: 45.61 kB / 1.237 GB, free: 2.516 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.975e-05/1.304, allocations: 24.02 kB / 1.237 GB, free: 2.512 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001268/1.305, allocations: 0.5918 MB / 1.237 GB, free: 2.262 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.01e-07/1.305, allocations: 0 / 1.237 GB, free: 2.262 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004153/1.31, allocations: 0.8535 MB / 1.238 GB, free: 2.117 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],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.0006417/1.31, allocations: 226.6 kB / 1.238 GB, free: 1.977 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004125/1.314, allocations: 1.201 MB / 1.24 GB, free: 1.625 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.314, allocations: 6.812 kB / 1.24 GB, free: 1.621 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008982/1.315, allocations: 447.9 kB / 1.24 GB, free: 1.406 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/1.318, allocations: 0.5097 MB / 1.241 GB, free: 1.27 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006396/1.324, allocations: 3.084 MB / 1.244 GB, free: 15.29 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001411/1.326, allocations: 1.167 MB / 1.245 GB, free: 14.54 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001642/1.327, allocations: 294.1 kB / 1.245 GB, free: 14.49 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003858/1.328, allocations: 90.53 kB / 1.245 GB, free: 14.48 MB / 0.823 GB Notification: Performance of SimCode: time 1.002e-06/1.328, allocations: 4 kB / 1.245 GB, free: 14.47 MB / 0.823 GB Notification: Performance of Templates: time 0.04028/1.368, allocations: 20.69 MB / 1.265 GB, free: 420 kB / 0.823 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)