Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008271/0.0008271, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008829/0.000883, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.145/1.145, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.8498/0.8498, allocations: 143.2 MB / 434.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002772, allocations: 12 kB / 0.5158 GB, free: 11.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1232, allocations: 83.42 MB / 0.5972 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.3553/0.4785, allocations: 173.2 MB / 0.7664 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007194/0.4857, allocations: 5.366 MB / 0.7716 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004815/0.4862, allocations: 31.75 kB / 0.7717 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008984/0.4871, allocations: 401.5 kB / 0.772 GB, free: 9.566 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002278/0.4894, allocations: 1.21 MB / 0.7732 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.4914, allocations: 0.8812 MB / 0.7741 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002627/0.494, allocations: 2.935 MB / 0.777 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007724/0.4948, allocations: 0.7039 MB / 0.7776 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.4959, allocations: 0.8402 MB / 0.7785 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000867/0.4968, allocations: 0.7783 MB / 0.7792 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.643e-05/0.4969, allocations: 43.94 kB / 0.7793 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.4984, allocations: 0.8925 MB / 0.7801 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003763/0.4988, allocations: 426.8 kB / 0.7805 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.499, allocations: 249.1 kB / 0.7808 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.5004, allocations: 1.555 MB / 0.7823 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.5004, allocations: 0 / 0.7823 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5004, allocations: 0 / 0.7823 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.5004, allocations: 4 kB / 0.7823 GB, free: 15.04 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001647/0.5021, allocations: 1.254 MB / 0.7835 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.5021, allocations: 8.031 kB / 0.7835 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.5037, allocations: 346.3 kB / 0.7839 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000993/0.5048, allocations: 0.7575 MB / 0.7846 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002883/0.5051, allocations: 129.9 kB / 0.7847 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.5052, allocations: 83.91 kB / 0.7848 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.5067, allocations: 1.064 MB / 0.7859 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.5067, allocations: 0 / 0.7859 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.678e-05/0.5068, allocations: 40 kB / 0.7859 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.984e-05/0.5069, allocations: 37.98 kB / 0.7859 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.5082, allocations: 0.8431 MB / 0.7867 GB, free: 10.37 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.004444/0.5127, allocations: 4.065 MB / 0.7907 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000521/0.5132, allocations: 367.2 kB / 0.7911 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002738/0.5135, allocations: 217.9 kB / 0.7913 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.5136, allocations: 100.9 kB / 0.7914 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.5137, allocations: 38.56 kB / 0.7914 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.373e-06/0.5137, allocations: 0 / 0.7914 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.002062/0.5158, allocations: 1.329 MB / 0.7927 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.5158, allocations: 55.41 kB / 0.7928 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.5169, allocations: 0.9842 MB / 0.7937 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.517, allocations: 37.7 kB / 0.7938 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.5173, allocations: 491.3 kB / 0.7942 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.5174, allocations: 138 kB / 0.7944 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.5175, allocations: 15.94 kB / 0.7944 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.5176, allocations: 337.9 kB / 0.7947 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/0.518, allocations: 233.1 kB / 0.7949 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000504/0.5185, allocations: 409.3 kB / 0.7953 GB, free: 1.133 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.5201, allocations: 0.7351 MB / 0.796 GB, free: 392 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.5201, allocations: 4 kB / 0.796 GB, free: 388 kB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001173/0.5213, allocations: 0.7599 MB / 0.7968 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.5213, allocations: 8 kB / 0.7968 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.5213, allocations: 7.984 kB / 0.7968 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.5213, allocations: 12 kB / 0.7968 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/0.5218, allocations: 140.1 kB / 0.7969 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.5219, allocations: 16.92 kB / 0.7969 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007291/0.5226, allocations: 91.78 kB / 0.797 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.5227, allocations: 24 kB / 0.7971 GB, free: 15.32 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003329/0.523, allocations: 317.5 kB / 0.7974 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.5231, allocations: 98.81 kB / 0.7975 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.5233, allocations: 101 kB / 0.7976 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5233, allocations: 8 kB / 0.7976 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5233, allocations: 0 / 0.7976 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005782/0.5239, allocations: 0.681 MB / 0.7982 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.5259, allocations: 1.585 MB / 0.7998 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/0.5259, allocations: 7.953 kB / 0.7998 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.5262, allocations: 83.91 kB / 0.7999 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.5263, allocations: 4 kB / 0.7999 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.5263, allocations: 19.98 kB / 0.7999 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.5263, allocations: 11.94 kB / 0.7999 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.5263, allocations: 5.094 kB / 0.7999 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008759/0.5272, allocations: 0.8297 MB / 0.8007 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.5275, allocations: 247.8 kB / 0.8009 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.5276, allocations: 11.98 kB / 0.801 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005876/0.5282, allocations: 61.12 kB / 0.801 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.5282, allocations: 35.86 kB / 0.801 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/0.5283, allocations: 27.98 kB / 0.8011 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008521/0.5292, allocations: 0.6996 MB / 0.8018 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5292, allocations: 3.938 kB / 0.8018 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006645/0.5298, allocations: 256 kB / 0.802 GB, free: 9.961 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003633/0.5302, allocations: 214.2 kB / 0.8022 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007675/0.531, allocations: 492.4 kB / 0.8027 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.531, allocations: 4 kB / 0.8027 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.5312, allocations: 183.7 kB / 0.8029 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.5334, allocations: 0.5893 MB / 0.8034 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.5358, allocations: 2.188 MB / 0.8056 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.5364, allocations: 1.103 MB / 0.8066 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006955/0.5371, allocations: 236.8 kB / 0.8069 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.5372, allocations: 71.42 kB / 0.8069 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.5372, allocations: 0 / 0.8069 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of Templates: time 0.02559/0.5628, allocations: 18.33 MB / 0.8248 GB, free: 2.789 MB / 0.6387 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)