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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.0009431/0.0009431, allocations: 99.86 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.0008932/0.0008932, 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 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9768/0.9768, allocations: 143.3 MB / 434.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003162, allocations: 8 kB / 0.5158 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1491, allocations: 83.4 MB / 0.5973 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.4481/0.5972, allocations: 198.9 MB / 0.7915 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02026/0.6175, allocations: 14.79 MB / 0.806 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/0.6196, allocations: 71.5 kB / 0.8061 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003244/0.6229, allocations: 1.062 MB / 0.8071 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009692/0.6326, allocations: 3.523 MB / 0.8105 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004933/0.6376, allocations: 1.74 MB / 0.8122 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0051/0.6427, allocations: 3.076 MB / 0.8152 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002081/0.6448, allocations: 1.301 MB / 0.8165 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00393/0.6487, allocations: 1.803 MB / 0.8183 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002126/0.6509, allocations: 1.113 MB / 0.8194 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003801/0.6512, allocations: 84 kB / 0.8194 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/0.6547, allocations: 1.248 MB / 0.8207 GB, free: 7.203 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008497/0.6556, allocations: 0.6154 MB / 0.8213 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008538/0.6564, allocations: 440.6 kB / 0.8217 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002943/0.6594, allocations: 2.388 MB / 0.824 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.6594, allocations: 0 / 0.824 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6594, allocations: 0 / 0.824 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.652e-05/0.6594, allocations: 0 / 0.824 GB, free: 3.754 MB / 0.6387 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.003618/0.6631, allocations: 2.105 MB / 0.8261 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.6631, allocations: 8.031 kB / 0.8261 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002892/0.666, allocations: 0.5075 MB / 0.8266 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/0.6683, allocations: 1.219 MB / 0.8278 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.6684, allocations: 178.2 kB / 0.8279 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.6687, allocations: 147.9 kB / 0.8281 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.6714, allocations: 1.722 MB / 0.8297 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.608e-05/0.6715, allocations: 15.84 kB / 0.8298 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/0.6716, allocations: 60 kB / 0.8298 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.89e-05/0.6717, allocations: 62.69 kB / 0.8299 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/0.6741, allocations: 1.384 MB / 0.8312 GB, free: 12.15 MB / 0.6544 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.009142/0.6833, allocations: 8.205 MB / 0.8392 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.6849, allocations: 0.9161 MB / 0.8401 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004107/0.6853, allocations: 158.2 kB / 0.8403 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.6854, allocations: 47.5 kB / 0.8403 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=96): time 2.945e-06/0.6854, allocations: 0 / 0.8403 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of matching and sorting (n=102): time 0.006685/0.6921, allocations: 3.16 MB / 0.8434 GB, free: 14.89 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.6921, allocations: 64.41 kB / 0.8435 GB, free: 14.81 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.6936, allocations: 1.254 MB / 0.8447 GB, free: 13.55 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.192e-05/0.6937, allocations: 49.7 kB / 0.8448 GB, free: 13.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005715/0.6943, allocations: 0.8094 MB / 0.8455 GB, free: 12.68 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002873/0.6946, allocations: 362.7 kB / 0.8459 GB, free: 12.32 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.6946, allocations: 28 kB / 0.8459 GB, free: 12.29 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6948, allocations: 353.9 kB / 0.8463 GB, free: 11.94 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007953/0.6956, allocations: 446.3 kB / 0.8467 GB, free: 11.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.6966, allocations: 0.8143 MB / 0.8475 GB, free: 10.52 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009502/0.6976, allocations: 0.5573 MB / 0.848 GB, free: 9.969 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.6976, allocations: 0 / 0.848 GB, free: 9.969 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002384/0.7, allocations: 1.413 MB / 0.8494 GB, free: 8.543 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.001653/0.7016, allocations: 3.654 MB / 0.853 GB, free: 4.535 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.7017, allocations: 8 kB / 0.853 GB, free: 4.527 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.225e-05/0.7017, allocations: 20 kB / 0.853 GB, free: 4.508 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.7029, allocations: 287.5 kB / 0.8533 GB, free: 4.227 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.561e-05/0.7029, allocations: 23.86 kB / 0.8533 GB, free: 4.203 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.7047, allocations: 177.1 kB / 0.8535 GB, free: 4.031 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.7048, allocations: 55.98 kB / 0.8535 GB, free: 3.977 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.7048, allocations: 0 / 0.8535 GB, free: 3.977 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002089/0.7069, allocations: 1.234 MB / 0.8547 GB, free: 2.742 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.707, allocations: 12 kB / 0.8547 GB, free: 2.73 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.707, allocations: 19.94 kB / 0.8547 GB, free: 2.711 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.7081, allocations: 284.1 kB / 0.855 GB, free: 2.434 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.041e-05/0.7081, allocations: 20.56 kB / 0.855 GB, free: 2.414 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.7097, allocations: 172.3 kB / 0.8552 GB, free: 2.246 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.358e-05/0.7098, allocations: 48 kB / 0.8552 GB, free: 2.199 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008332/0.7107, allocations: 0.5045 MB / 0.8557 GB, free: 1.684 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002421/0.7109, allocations: 169.9 kB / 0.8559 GB, free: 1.516 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/0.7131, allocations: 1.174 MB / 0.8571 GB, free: 332 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.7131, allocations: 15.95 kB / 0.8571 GB, free: 316 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.7131, allocations: 4 kB / 0.8571 GB, free: 312 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2557/0.9688, allocations: 1.091 MB / 0.8581 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004197/0.9731, allocations: 2.803 MB / 0.8609 GB, free: 206.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.9731, allocations: 4.531 kB / 0.8609 GB, free: 206.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.9742, allocations: 245.1 kB / 0.8611 GB, free: 206.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.387e-06/0.9742, allocations: 5.406 kB / 0.8611 GB, free: 206.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.083e-05/0.9743, allocations: 33.09 kB / 0.8611 GB, free: 206.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/0.9743, allocations: 10.31 kB / 0.8612 GB, free: 206.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.9743, allocations: 0.625 kB / 0.8612 GB, free: 206.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/0.9767, allocations: 1.886 MB / 0.863 GB, free: 206.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006722/0.9774, allocations: 344.2 kB / 0.8633 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.9776, allocations: 26.47 kB / 0.8634 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.9788, allocations: 144.8 kB / 0.8635 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.9789, allocations: 61.08 kB / 0.8635 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.976e-05/0.979, allocations: 41.34 kB / 0.8636 GB, free: 206.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000909/0.9799, allocations: 0.8279 MB / 0.8644 GB, free: 206 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9799, allocations: 5.375 kB / 0.8644 GB, free: 206 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001719/0.9816, allocations: 0.7708 MB / 0.8652 GB, free: 206 MB / 0.67 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 (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.0005798/0.9822, allocations: 282.2 kB / 0.8654 GB, free: 205.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003219/0.9854, allocations: 1.742 MB / 0.8671 GB, free: 205.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.475e-06/0.9855, allocations: 3.031 kB / 0.8671 GB, free: 205.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007821/0.9863, allocations: 0.5211 MB / 0.8676 GB, free: 205.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004235/0.9905, allocations: 0.9576 MB / 0.8686 GB, free: 205.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/0.9954, allocations: 4.203 MB / 0.8727 GB, free: 203.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00073/0.9962, allocations: 1.485 MB / 0.8741 GB, free: 202.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001935/0.9981, allocations: 0.5591 MB / 0.8747 GB, free: 202.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.9984, allocations: 125.4 kB / 0.8748 GB, free: 202.6 MB / 0.67 GB Notification: Performance of SimCode: time 9.42e-07/0.9984, allocations: 0 / 0.8748 GB, free: 202.6 MB / 0.67 GB Notification: Performance of Templates: time 0.05135/1.05, allocations: 29.39 MB / 0.9035 GB, free: 197.8 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: