Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 105 kB / 15.98 MB, free: 6.348 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.00174/0.00174, allocations: 197.8 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.921/0.921, allocations: 143.3 MB / 434 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 63.91 kB / 0.5146 GB, free: 15.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3658, allocations: 82.03 MB / 0.5947 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6596/1.025, allocations: 239.9 MB / 0.829 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02459/1.05, allocations: 15.91 MB / 0.8445 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004312/1.054, allocations: 73.66 kB / 0.8446 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003984/1.058, allocations: 1.049 MB / 0.8456 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01141/1.07, allocations: 3.588 MB / 0.8491 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00618/1.076, allocations: 1.657 MB / 0.8507 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00829/1.084, allocations: 5.256 MB / 0.8558 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003141/1.088, allocations: 1.62 MB / 0.8574 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007463/1.095, allocations: 2.612 MB / 0.86 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005402/1.101, allocations: 1.826 MB / 0.8618 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000773/1.101, allocations: 172 kB / 0.8619 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007149/1.108, allocations: 2.826 MB / 0.8647 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001469/1.11, allocations: 0.7742 MB / 0.8654 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002974/1.113, allocations: 1.151 MB / 0.8666 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005819/1.119, allocations: 2.744 MB / 0.8692 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/1.119, allocations: 0 / 0.8692 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.884e-06/1.119, allocations: 0 / 0.8692 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001124/1.119, allocations: 4 kB / 0.8692 GB, free: 14.51 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.006191/1.125, allocations: 2.508 MB / 0.8717 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.125, allocations: 8.031 kB / 0.8717 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00352/1.129, allocations: 0.5062 MB / 0.8722 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002977/1.132, allocations: 1.271 MB / 0.8734 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/1.132, allocations: 181 kB / 0.8736 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004197/1.132, allocations: 151.9 kB / 0.8738 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003767/1.136, allocations: 1.74 MB / 0.8755 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.943e-05/1.136, allocations: 4 kB / 0.8755 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/1.136, allocations: 56 kB / 0.8755 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.274e-05/1.137, allocations: 62.69 kB / 0.8756 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002992/1.14, allocations: 1.381 MB / 0.8769 GB, free: 6.523 MB / 0.6075 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.01212/1.152, allocations: 8.197 MB / 0.8849 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/1.154, allocations: 0.8947 MB / 0.8858 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/1.155, allocations: 0.538 MB / 0.8863 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006936/1.155, allocations: 322.6 kB / 0.8866 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/1.155, allocations: 43.56 kB / 0.8867 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=96): time 3.095e-06/1.155, allocations: 0 / 0.8867 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of matching and sorting (n=102): time 0.008131/1.164, allocations: 3.118 MB / 0.8897 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/1.164, allocations: 64.41 kB / 0.8898 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/1.166, allocations: 1.262 MB / 0.891 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001307/1.166, allocations: 45.7 kB / 0.8911 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008778/1.167, allocations: 0.812 MB / 0.8919 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004544/1.167, allocations: 372 kB / 0.8922 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005892/1.168, allocations: 218.8 kB / 0.8924 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000257/1.168, allocations: 361.9 kB / 0.8928 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/1.17, allocations: 445.8 kB / 0.8932 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/1.172, allocations: 0.83 MB / 0.894 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003346/1.175, allocations: 1.248 MB / 0.8952 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/1.175, allocations: 4 kB / 0.8952 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004447/1.179, allocations: 1.405 MB / 0.8966 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/1.179, allocations: 10.34 kB / 0.8966 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.943e-05/1.179, allocations: 16.89 kB / 0.8966 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.715e-05/1.18, allocations: 15.94 kB / 0.8966 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/1.181, allocations: 283.6 kB / 0.8969 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.329e-05/1.181, allocations: 23.92 kB / 0.8969 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002855/1.184, allocations: 175.5 kB / 0.8971 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/1.185, allocations: 48 kB / 0.8971 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0024/1.187, allocations: 0.7757 MB / 0.8979 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001905/1.189, allocations: 0.8182 MB / 0.8987 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003244/1.192, allocations: 1.233 MB / 0.8999 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.307e-06/1.192, allocations: 0 / 0.8999 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.004238/1.196, allocations: 1.386 MB / 0.9013 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/1.197, allocations: 8.188 kB / 0.9013 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/1.197, allocations: 16 kB / 0.9013 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/1.197, allocations: 16 kB / 0.9013 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/1.198, allocations: 271.6 kB / 0.9015 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.242e-05/1.198, allocations: 19.94 kB / 0.9016 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002876/1.201, allocations: 182.6 kB / 0.9017 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/1.201, allocations: 56.61 kB / 0.9018 GB, free: 11.67 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005972/1.202, allocations: 264.5 kB / 0.902 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007322/1.203, allocations: 162 kB / 0.9022 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003818/1.207, allocations: 1.154 MB / 0.9033 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/1.207, allocations: 8 kB / 0.9033 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.207, allocations: 4 kB / 0.9033 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002835/1.21, allocations: 1.087 MB / 0.9044 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00864/1.218, allocations: 2.788 MB / 0.9071 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/1.218, allocations: 4 kB / 0.9071 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/1.22, allocations: 247.9 kB / 0.9074 GB, free: 5.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-05/1.22, allocations: 7.938 kB / 0.9074 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/1.22, allocations: 31.98 kB / 0.9074 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.421e-05/1.22, allocations: 4 kB / 0.9074 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/1.22, allocations: 7.938 kB / 0.9074 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004999/1.225, allocations: 1.773 MB / 0.9091 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.227, allocations: 331 kB / 0.9095 GB, free: 3.633 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000598/1.227, allocations: 24 kB / 0.9095 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/1.229, allocations: 139.7 kB / 0.9096 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/1.23, allocations: 72.84 kB / 0.9097 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/1.23, allocations: 39.98 kB / 0.9097 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001893/1.232, allocations: 0.8426 MB / 0.9105 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.6e-07/1.232, allocations: 0 / 0.9105 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003895/1.235, allocations: 0.7617 MB / 0.9113 GB, free: 1.762 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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 (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000949/1.236, allocations: 293.8 kB / 0.9116 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006735/1.243, allocations: 2 MB / 0.9135 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/1.243, allocations: 5.688 kB / 0.9135 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001595/1.245, allocations: 0.5174 MB / 0.914 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007021/1.252, allocations: 0.9024 MB / 0.9149 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/1.262, allocations: 4.249 MB / 0.9191 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/1.264, allocations: 1.441 MB / 0.9205 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00077/1.265, allocations: 135.4 kB / 0.9206 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of SimCode: time 1.663e-06/1.265, allocations: 0 / 0.9206 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of Templates: time 0.068/1.333, allocations: 26.56 MB / 0.9465 GB, free: 13.82 MB / 0.6856 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)