Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.619/1.619, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 168.2 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205 MB / 0.5766 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008665/0.0008666, allocations: 92.17 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003497, allocations: 15.77 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1984, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6662/0.8646, allocations: 196.5 MB / 1.089 GB, free: 1.52 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0132/0.8779, allocations: 10.5 MB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002001/0.8799, allocations: 53.47 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.8815, allocations: 479.7 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005713/0.8872, allocations: 1.84 MB / 1.101 GB, free: 1.184 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0038/0.891, allocations: 1.26 MB / 1.102 GB, free: 1.145 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004327/0.8954, allocations: 3.725 MB / 1.106 GB, free: 1.133 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.8968, allocations: 0.9828 MB / 1.107 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004211/0.901, allocations: 1.487 MB / 1.108 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.9029, allocations: 0.922 MB / 1.109 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001926/0.9031, allocations: 47.22 kB / 1.109 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004214/0.9074, allocations: 2.381 MB / 1.112 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004675/0.9078, allocations: 352.8 kB / 1.112 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.9089, allocations: 0.6203 MB / 1.113 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002731/0.9117, allocations: 1.798 MB / 1.114 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.9117, allocations: 2.906 kB / 1.114 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.575e-06/0.9117, allocations: 0 / 1.114 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.765e-05/0.9118, allocations: 3.938 kB / 1.114 GB, free: 0.7383 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.003126/0.9149, allocations: 1.574 MB / 1.116 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.915, allocations: 10.52 kB / 1.116 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/0.9171, allocations: 371.4 kB / 1.116 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.9187, allocations: 0.9122 MB / 1.117 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.9188, allocations: 79.55 kB / 1.117 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.9189, allocations: 104 kB / 1.117 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.9205, allocations: 1.118 MB / 1.119 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.9206, allocations: 3 kB / 1.119 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.803e-05/0.9207, allocations: 43.14 kB / 1.119 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/0.9207, allocations: 34 kB / 1.119 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.922, allocations: 0.8089 MB / 1.119 GB, free: 15.12 MB / 0.7136 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.005728/0.9277, allocations: 5.087 MB / 1.124 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.9289, allocations: 0.6799 MB / 1.125 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/0.9294, allocations: 359.6 kB / 1.125 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006113/0.93, allocations: 332.1 kB / 1.126 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.9301, allocations: 41.06 kB / 1.126 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 2.795e-06/0.9301, allocations: 1.375 kB / 1.126 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.001868/0.932, allocations: 0.9345 MB / 1.127 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.932, allocations: 58.34 kB / 1.127 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009319/0.933, allocations: 0.8712 MB / 1.128 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.933, allocations: 40.98 kB / 1.128 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004592/0.9335, allocations: 0.5615 MB / 1.128 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/0.9337, allocations: 246.1 kB / 1.128 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.9339, allocations: 71.66 kB / 1.128 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.934, allocations: 342.4 kB / 1.129 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/0.9345, allocations: 247.7 kB / 1.129 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007548/0.9352, allocations: 445.8 kB / 1.129 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.9365, allocations: 0.7008 MB / 1.13 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.9365, allocations: 1.75 kB / 1.13 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001618/0.9381, allocations: 0.8322 MB / 1.131 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.9383, allocations: 229.1 kB / 1.131 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.9383, allocations: 12.31 kB / 1.131 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.9384, allocations: 6.406 kB / 1.131 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.9398, allocations: 249.2 kB / 1.131 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.9412, allocations: 1.391 MB / 1.133 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009661/0.9422, allocations: 121.1 kB / 1.133 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.74e-05/0.9423, allocations: 30.09 kB / 1.133 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/0.9423, allocations: 11.95 kB / 1.133 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001235/0.9435, allocations: 0.7069 MB / 1.134 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.9436, allocations: 5.344 kB / 1.134 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.884e-06/0.9436, allocations: 9.406 kB / 1.134 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.9449, allocations: 250.8 kB / 1.134 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.9462, allocations: 1.397 MB / 1.135 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009436/0.9471, allocations: 110 kB / 1.135 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.9472, allocations: 30.88 kB / 1.135 GB, free: 7.152 MB / 0.7136 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.0006059/0.9478, allocations: 372.7 kB / 1.136 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.948, allocations: 114.1 kB / 1.136 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.9495, allocations: 0.7873 MB / 1.137 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.9495, allocations: 6.25 kB / 1.137 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.9495, allocations: 0 / 1.137 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001167/0.9507, allocations: 0.7077 MB / 1.137 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00347/0.9542, allocations: 1.928 MB / 1.139 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.9542, allocations: 2.344 kB / 1.139 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006985/0.9549, allocations: 151 kB / 1.139 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004243/0.9553, allocations: 44.06 kB / 1.139 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.635e-05/0.9554, allocations: 17.72 kB / 1.139 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.9567, allocations: 1.357 MB / 1.141 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.9567, allocations: 2.781 kB / 1.141 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.9588, allocations: 1.251 MB / 1.142 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004561/0.9593, allocations: 259.8 kB / 1.142 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.9594, allocations: 14.06 kB / 1.142 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006493/0.96, allocations: 69.56 kB / 1.142 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.228e-05/0.9601, allocations: 50.11 kB / 1.142 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/0.9602, allocations: 27.97 kB / 1.142 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007197/0.9609, allocations: 0.5955 MB / 1.143 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9609, allocations: 0 / 1.143 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001337/0.9623, allocations: 0.5339 MB / 1.143 GB, free: 4.262 MB / 0.7136 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.0004725/0.9627, allocations: 227.5 kB / 1.144 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003106/0.9659, allocations: 1.174 MB / 1.145 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.9659, allocations: 0 / 1.145 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006921/0.9666, allocations: 450.8 kB / 1.145 GB, free: 4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.9691, allocations: 0.5056 MB / 1.146 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.973, allocations: 2.726 MB / 1.148 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00067/0.9737, allocations: 1.141 MB / 1.149 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/0.974, allocations: 88.92 kB / 1.15 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of SimCode: time 4.21e-07/0.974, allocations: 0 / 1.15 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of Templates: time 0.02938/1.003, allocations: 21.35 MB / 1.17 GB, free: 2.449 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)