Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.942/1.942, allocations: 287.5 MB / 302.6 MB, free: 8.355 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.001489/0.001489, allocations: 185.3 kB / 371.2 MB, free: 10.82 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.675/1.675, allocations: 205.4 MB / 0.6298 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 97.2 kB / 0.7432 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005156/0.0005177, allocations: 13.72 kB / 0.8661 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2616, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir): time 0.8058/1.067, allocations: 166.5 MB / 1.141 GB, free: 13.29 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01069/1.078, allocations: 6.203 MB / 1.147 GB, free: 11.3 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/1.08, allocations: 20.47 kB / 1.147 GB, free: 11.29 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/1.081, allocations: 288.7 kB / 1.148 GB, free: 11.17 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004054/1.085, allocations: 1.028 MB / 1.149 GB, free: 10.73 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002462/1.088, allocations: 0.5964 MB / 1.149 GB, free: 10.61 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006943/1.095, allocations: 4.582 MB / 1.154 GB, free: 9.223 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002234/1.097, allocations: 1.244 MB / 1.155 GB, free: 8.742 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003801/1.101, allocations: 1.216 MB / 1.156 GB, free: 8.238 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002876/1.104, allocations: 1.121 MB / 1.157 GB, free: 7.637 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000231/1.104, allocations: 51.81 kB / 1.157 GB, free: 7.637 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003423/1.107, allocations: 0.8994 MB / 1.158 GB, free: 7.18 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007466/1.108, allocations: 480.7 kB / 1.159 GB, free: 6.879 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008232/1.109, allocations: 324.8 kB / 1.159 GB, free: 6.711 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003128/1.112, allocations: 2.029 MB / 1.161 GB, free: 5.438 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.112, allocations: 4 kB / 1.161 GB, free: 5.434 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.854e-06/1.112, allocations: 0 / 1.161 GB, free: 5.434 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.313e-05/1.112, allocations: 0 / 1.161 GB, free: 5.434 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.003556/1.116, allocations: 1.607 MB / 1.162 GB, free: 4.246 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/1.116, allocations: 9.375 kB / 1.162 GB, free: 4.246 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003013/1.119, allocations: 0.4889 MB / 1.163 GB, free: 4.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/1.121, allocations: 1.191 MB / 1.164 GB, free: 3.215 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-05/1.121, allocations: 77.06 kB / 1.164 GB, free: 3.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/1.122, allocations: 105 kB / 1.164 GB, free: 3.145 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/1.124, allocations: 1.331 MB / 1.166 GB, free: 2.414 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/1.124, allocations: 1.062 kB / 1.166 GB, free: 2.414 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/1.124, allocations: 50.02 kB / 1.166 GB, free: 2.375 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.68e-05/1.124, allocations: 43.77 kB / 1.166 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/1.127, allocations: 1.267 MB / 1.167 GB, free: 1.758 MB / 0.698 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.007306/1.134, allocations: 4.917 MB / 1.172 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/1.135, allocations: 0.9921 MB / 1.173 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007984/1.136, allocations: 0.5808 MB / 1.173 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003611/1.137, allocations: 196.5 kB / 1.173 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/1.137, allocations: 44.75 kB / 1.173 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=78): time 2.786e-06/1.137, allocations: 0 / 1.173 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81): time 0.005804/1.142, allocations: 2.985 MB / 1.176 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/1.143, allocations: 71.97 kB / 1.176 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/1.144, allocations: 0.9569 MB / 1.177 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.621e-05/1.144, allocations: 42.83 kB / 1.177 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004639/1.144, allocations: 0.537 MB / 1.178 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000286/1.145, allocations: 286.2 kB / 1.178 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/1.145, allocations: 14.88 kB / 1.178 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.145, allocations: 340.9 kB / 1.179 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005968/1.146, allocations: 435.8 kB / 1.179 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007622/1.146, allocations: 0.6 MB / 1.18 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/1.148, allocations: 1.073 MB / 1.181 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.148, allocations: 0 / 1.181 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001893/1.15, allocations: 1.24 MB / 1.182 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001323/1.15, allocations: 165.3 kB / 1.182 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.15, allocations: 2.562 kB / 1.182 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002512/1.15, allocations: 78.8 kB / 1.182 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/1.151, allocations: 206.8 kB / 1.182 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/1.154, allocations: 2.997 MB / 1.185 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/1.155, allocations: 133.7 kB / 1.185 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.38e-05/1.155, allocations: 29.78 kB / 1.185 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.976e-06/1.155, allocations: 2.844 kB / 1.185 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001648/1.157, allocations: 1.122 MB / 1.186 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.157, allocations: 2.438 kB / 1.186 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/1.157, allocations: 74 kB / 1.187 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006508/1.158, allocations: 171.9 kB / 1.187 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/1.16, allocations: 1.826 MB / 1.188 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/1.161, allocations: 146.4 kB / 1.189 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/1.161, allocations: 33.72 kB / 1.189 GB, free: 1.867 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001077/1.162, allocations: 0.5865 MB / 1.189 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/1.163, allocations: 112 kB / 1.189 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/1.164, allocations: 1.182 MB / 1.19 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.164, allocations: 5.531 kB / 1.19 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.164, allocations: 6.656 kB / 1.19 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00154/1.166, allocations: 1.246 MB / 1.192 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004511/1.17, allocations: 2.788 MB / 1.194 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.17, allocations: 4 kB / 1.194 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/1.172, allocations: 235.9 kB / 1.195 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002191/1.172, allocations: 76.8 kB / 1.195 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/1.172, allocations: 23.94 kB / 1.195 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002395/1.174, allocations: 2.991 MB / 1.198 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.174, allocations: 7.938 kB / 1.198 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/1.177, allocations: 1.936 MB / 1.2 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008239/1.178, allocations: 323.7 kB / 1.2 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/1.178, allocations: 19.98 kB / 1.2 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009615/1.179, allocations: 121.7 kB / 1.2 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/1.179, allocations: 56.47 kB / 1.2 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/1.179, allocations: 35.98 kB / 1.2 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001048/1.18, allocations: 0.6757 MB / 1.201 GB, free: 6.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.1e-07/1.18, allocations: 0 / 1.201 GB, free: 6.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002134/1.182, allocations: 0.6562 MB / 1.201 GB, free: 6.324 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006019/1.183, allocations: 221.8 kB / 1.202 GB, free: 6.109 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003288/1.186, allocations: 1.897 MB / 1.203 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.186, allocations: 4 kB / 1.203 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009813/1.187, allocations: 0.6671 MB / 1.204 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00394/1.191, allocations: 0.7935 MB / 1.205 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005235/1.197, allocations: 3.588 MB / 1.208 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/1.198, allocations: 1.425 MB / 1.21 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002091/1.2, allocations: 0.6687 MB / 1.21 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/1.2, allocations: 95.42 kB / 1.211 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of SimCode: time 1.463e-06/1.2, allocations: 0 / 1.211 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of Templates: time 0.04544/1.246, allocations: 26.2 MB / 1.236 GB, free: 2.867 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & ./Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)