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.0008493/0.0008494, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007213/0.007213, allocations: 171.4 kB / 16.27 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.4 MB / 222.5 MB, free: 5.531 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.874/1.874, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005654/0.0005654, allocations: 15.22 kB / 0.6743 GB, free: 25.67 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2782, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir): time 0.7892/1.067, allocations: 178.5 MB / 0.9622 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01154/1.079, allocations: 6.618 MB / 0.9686 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/1.081, allocations: 23.47 kB / 0.9687 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001583/1.082, allocations: 366.5 kB / 0.969 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005021/1.088, allocations: 1.325 MB / 0.9703 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002671/1.09, allocations: 0.6869 MB / 0.971 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0085/1.099, allocations: 5.462 MB / 0.9763 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002693/1.101, allocations: 1.266 MB / 0.9776 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004089/1.106, allocations: 1.239 MB / 0.9788 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004097/1.11, allocations: 1.186 MB / 0.9799 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004843/1.11, allocations: 53 kB / 0.98 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004947/1.115, allocations: 1.632 MB / 0.9816 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001269/1.116, allocations: 482.3 kB / 0.982 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002834/1.119, allocations: 0.7455 MB / 0.9828 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006543/1.126, allocations: 2.702 MB / 0.9854 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.126, allocations: 0 / 0.9854 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.194e-06/1.126, allocations: 0 / 0.9854 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001053/1.126, allocations: 0 / 0.9854 GB, free: 10.86 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.005354/1.131, allocations: 1.608 MB / 0.987 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/1.131, allocations: 8.656 kB / 0.987 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004262/1.136, allocations: 498.3 kB / 0.9874 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003078/1.139, allocations: 1.187 MB / 0.9886 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/1.139, allocations: 77.12 kB / 0.9887 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004729/1.139, allocations: 104.1 kB / 0.9888 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003217/1.143, allocations: 1.341 MB / 0.9901 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/1.143, allocations: 2.969 kB / 0.9901 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/1.143, allocations: 43.88 kB / 0.9901 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.968e-05/1.143, allocations: 43.7 kB / 0.9902 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/1.145, allocations: 1.28 MB / 0.9914 GB, free: 7.254 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.008641/1.154, allocations: 4.918 MB / 0.9962 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/1.156, allocations: 0.9943 MB / 0.9972 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007914/1.156, allocations: 0.5788 MB / 0.9978 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000327/1.157, allocations: 202.7 kB / 0.998 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.614e-05/1.157, allocations: 49.77 kB / 0.998 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=78): time 2.665e-06/1.157, allocations: 2.625 kB / 0.998 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of matching and sorting (n=81): time 0.006398/1.163, allocations: 2.999 MB / 1.001 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/1.163, allocations: 60.09 kB / 1.001 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/1.165, allocations: 0.9667 MB / 1.002 GB, free: 24 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001322/1.165, allocations: 47.83 kB / 1.002 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004549/1.165, allocations: 0.5327 MB / 1.003 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/1.166, allocations: 288.5 kB / 1.003 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/1.166, allocations: 73.52 kB / 1.003 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.166, allocations: 336.5 kB / 1.003 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006182/1.167, allocations: 443.1 kB / 1.004 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007884/1.167, allocations: 0.6104 MB / 1.004 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/1.169, allocations: 1.079 MB / 1.005 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/1.169, allocations: 3.984 kB / 1.005 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001949/1.171, allocations: 1.242 MB / 1.006 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.000139/1.171, allocations: 171.2 kB / 1.007 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.171, allocations: 5.094 kB / 1.007 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002524/1.171, allocations: 71.28 kB / 1.007 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/1.172, allocations: 211.5 kB / 1.007 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/1.175, allocations: 2.987 MB / 1.01 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/1.177, allocations: 142.1 kB / 1.01 GB, free: 9.793 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/1.177, allocations: 33.7 kB / 1.01 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/1.177, allocations: 2.969 kB / 1.01 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001757/1.178, allocations: 1.127 MB / 1.011 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.178, allocations: 5.031 kB / 1.011 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/1.179, allocations: 67.34 kB / 1.011 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/1.179, allocations: 172 kB / 1.011 GB, free: 9.152 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/1.181, allocations: 1.823 MB / 1.013 GB, free: 7.465 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/1.183, allocations: 139.6 kB / 1.013 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.99e-05/1.183, allocations: 30.22 kB / 1.013 GB, free: 7.387 MB / 0.7481 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 (not torn): 2 * Torn equation systems: 1 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00113/1.184, allocations: 0.6 MB / 1.014 GB, free: 6.969 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000389/1.185, allocations: 109.4 kB / 1.014 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/1.187, allocations: 1.194 MB / 1.015 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/1.187, allocations: 8.719 kB / 1.015 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.187, allocations: 4 kB / 1.015 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001652/1.189, allocations: 1.246 MB / 1.016 GB, free: 5.434 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005385/1.194, allocations: 2.793 MB / 1.019 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/1.194, allocations: 2.938 kB / 1.019 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/1.195, allocations: 243.4 kB / 1.019 GB, free: 3.668 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002159/1.195, allocations: 79.88 kB / 1.019 GB, free: 3.625 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.533e-05/1.195, allocations: 23.7 kB / 1.019 GB, free: 3.609 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00242/1.198, allocations: 2.981 MB / 1.022 GB, free: 0.7344 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.198, allocations: 5.312 kB / 1.022 GB, free: 0.7344 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/1.201, allocations: 1.948 MB / 1.024 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009354/1.202, allocations: 328.4 kB / 1.025 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000298/1.202, allocations: 23.73 kB / 1.025 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/1.203, allocations: 112.2 kB / 1.025 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/1.203, allocations: 57.44 kB / 1.025 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.646e-05/1.204, allocations: 30.89 kB / 1.025 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001127/1.205, allocations: 0.6845 MB / 1.025 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.1e-07/1.205, allocations: 0 / 1.025 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00249/1.207, allocations: 0.6601 MB / 1.026 GB, free: 14.12 MB / 0.7637 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 (not torn): 2 * Torn equation systems: 1 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006177/1.208, allocations: 223.3 kB / 1.026 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00396/1.212, allocations: 1.901 MB / 1.028 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.212, allocations: 0 / 1.028 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/1.213, allocations: 0.6712 MB / 1.029 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004695/1.218, allocations: 0.8076 MB / 1.03 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006096/1.224, allocations: 3.636 MB / 1.033 GB, free: 6.809 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001859/1.226, allocations: 1.417 MB / 1.035 GB, free: 5.363 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002736/1.228, allocations: 0.6843 MB / 1.035 GB, free: 4.676 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005029/1.229, allocations: 87.42 kB / 1.035 GB, free: 4.594 MB / 0.7637 GB Notification: Performance of SimCode: time 2.114e-06/1.229, allocations: 0 / 1.035 GB, free: 4.594 MB / 0.7637 GB Notification: Performance of Templates: time 0.05352/1.282, allocations: 26.9 MB / 1.062 GB, free: 10.01 MB / 0.795 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: