Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009463/0.0009462, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.00101/0.00101, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.4 MB / 222.1 MB, free: 5.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.61/1.61, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005196/0.0005197, allocations: 15.98 kB / 0.6735 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2736, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir): time 0.6687/0.9423, allocations: 152.5 MB / 0.936 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01101/0.9534, allocations: 6.133 MB / 0.942 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.9552, allocations: 23.81 kB / 0.942 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.9571, allocations: 440.5 kB / 0.9424 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006077/0.9632, allocations: 1.357 MB / 0.9437 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00354/0.9668, allocations: 0.8769 MB / 0.9446 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004659/0.9715, allocations: 2.184 MB / 0.9467 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001757/0.9732, allocations: 1.082 MB / 0.9478 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002619/0.9759, allocations: 0.9929 MB / 0.9488 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/0.9774, allocations: 0.7336 MB / 0.9495 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.9775, allocations: 51.88 kB / 0.9495 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/0.9799, allocations: 0.7157 MB / 0.9502 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004808/0.9804, allocations: 438.2 kB / 0.9506 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007749/0.9812, allocations: 320.4 kB / 0.9509 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002145/0.9834, allocations: 1.942 MB / 0.9528 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.9834, allocations: 0 / 0.9528 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9834, allocations: 4 kB / 0.9528 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.449e-05/0.9834, allocations: 1.062 kB / 0.9528 GB, free: 20.98 MB / 0.7325 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.002669/0.9861, allocations: 1.59 MB / 0.9544 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.9861, allocations: 9.375 kB / 0.9544 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00305/0.9892, allocations: 494.9 kB / 0.9549 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/0.9919, allocations: 1.147 MB / 0.956 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-05/0.992, allocations: 76.22 kB / 0.9561 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002263/0.9922, allocations: 112.9 kB / 0.9562 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/0.9949, allocations: 1.32 MB / 0.9575 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.995, allocations: 4.531 kB / 0.9575 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.9951, allocations: 43.12 kB / 0.9575 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.487e-05/0.9951, allocations: 40.56 kB / 0.9576 GB, free: 19.64 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.9971, allocations: 1.27 MB / 0.9588 GB, free: 19.64 MB / 0.7325 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.00719/1.004, allocations: 4.908 MB / 0.9636 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/1.006, allocations: 0.9942 MB / 0.9646 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.532e-05/1.006, allocations: 25.58 kB / 0.9646 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/1.006, allocations: 44.41 kB / 0.9646 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=78): time 2.394e-06/1.006, allocations: 0 / 0.9646 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=81): time 0.005315/1.011, allocations: 2.986 MB / 0.9675 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/1.011, allocations: 60.78 kB / 0.9676 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/1.012, allocations: 0.9582 MB / 0.9685 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.682e-05/1.012, allocations: 44.89 kB / 0.9686 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/1.013, allocations: 0.5278 MB / 0.9691 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/1.013, allocations: 295.1 kB / 0.9694 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/1.013, allocations: 19.97 kB / 0.9694 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.013, allocations: 341.6 kB / 0.9697 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005232/1.014, allocations: 438.9 kB / 0.9701 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007066/1.014, allocations: 0.5979 MB / 0.9707 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007487/1.015, allocations: 0.5466 MB / 0.9713 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.015, allocations: 0 / 0.9713 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001752/1.017, allocations: 1.24 MB / 0.9725 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004217/1.017, allocations: 1.052 MB / 0.9735 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.017, allocations: 2.688 kB / 0.9735 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002551/1.017, allocations: 73.47 kB / 0.9736 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009929/1.018, allocations: 205.8 kB / 0.9738 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002778/1.021, allocations: 3.019 MB / 0.9767 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/1.023, allocations: 137.5 kB / 0.9768 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/1.023, allocations: 30.84 kB / 0.9769 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/1.023, allocations: 9.938 kB / 0.9769 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001488/1.025, allocations: 1.117 MB / 0.978 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.025, allocations: 2.812 kB / 0.978 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/1.025, allocations: 75.23 kB / 0.978 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006229/1.025, allocations: 173.7 kB / 0.9782 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/1.027, allocations: 1.832 MB / 0.98 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/1.029, allocations: 145.6 kB / 0.9801 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.626e-05/1.029, allocations: 34.17 kB / 0.9802 GB, free: 9.469 MB / 0.7325 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.001138/1.03, allocations: 0.5878 MB / 0.9807 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/1.03, allocations: 114 kB / 0.9809 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/1.032, allocations: 1.184 MB / 0.982 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/1.032, allocations: 11.55 kB / 0.982 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.032, allocations: 2.469 kB / 0.982 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/1.033, allocations: 1.236 MB / 0.9832 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004326/1.038, allocations: 2.79 MB / 0.986 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.038, allocations: 2.844 kB / 0.986 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009944/1.039, allocations: 244.3 kB / 0.9862 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001877/1.039, allocations: 74.7 kB / 0.9863 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.852e-05/1.039, allocations: 23.64 kB / 0.9863 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/1.041, allocations: 3.01 MB / 0.9892 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/1.041, allocations: 12.83 kB / 0.9892 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/1.043, allocations: 2.033 MB / 0.9912 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008039/1.044, allocations: 325.1 kB / 0.9915 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/1.044, allocations: 22.45 kB / 0.9916 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009932/1.045, allocations: 114.9 kB / 0.9917 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/1.046, allocations: 54.36 kB / 0.9917 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.929e-05/1.046, allocations: 32.52 kB / 0.9917 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008837/1.046, allocations: 0.6773 MB / 0.9924 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/1.046, allocations: 0 / 0.9924 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001901/1.048, allocations: 0.655 MB / 0.993 GB, free: 3.418 MB / 0.7325 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.0005183/1.049, allocations: 237.6 kB / 0.9933 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002816/1.052, allocations: 1.892 MB / 0.9951 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.052, allocations: 3.312 kB / 0.9951 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008237/1.053, allocations: 0.6723 MB / 0.9958 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0034/1.056, allocations: 0.7785 MB / 0.9965 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/1.062, allocations: 3.586 MB / 1 GB, free: 232 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/1.063, allocations: 1.44 MB / 1.001 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002189/1.065, allocations: 0.682 MB / 1.002 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003011/1.065, allocations: 90.95 kB / 1.002 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of SimCode: time 1.213e-06/1.065, allocations: 0 / 1.002 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of Templates: time 0.04253/1.108, allocations: 26.15 MB / 1.028 GB, free: 7.789 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1) Environment - environmentSimulation: