Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 99.62 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.001381/0.001381, allocations: 177.3 kB / 15.95 MB, free: 216 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.316/1.316, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9587/0.9587, allocations: 143.3 MB / 434.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003113, allocations: 12 kB / 0.5158 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1585, allocations: 83.41 MB / 0.5973 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4451/0.6037, allocations: 158.3 MB / 0.7519 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009604/0.6133, allocations: 5.648 MB / 0.7574 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.6147, allocations: 27.81 kB / 0.7574 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.6165, allocations: 0.5647 MB / 0.7579 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00524/0.6218, allocations: 1.655 MB / 0.7596 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003704/0.6255, allocations: 1.191 MB / 0.7607 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00308/0.6286, allocations: 1.691 MB / 0.7624 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.6299, allocations: 0.8187 MB / 0.7632 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.6315, allocations: 0.7708 MB / 0.7639 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.6325, allocations: 0.6071 MB / 0.7645 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.6327, allocations: 48 kB / 0.7646 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.6346, allocations: 0.6162 MB / 0.7652 GB, free: 192 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005204/0.6352, allocations: 458.9 kB / 0.7656 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003803/0.6356, allocations: 285.1 kB / 0.7659 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.6378, allocations: 1.624 MB / 0.7675 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6378, allocations: 0 / 0.7675 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.755e-06/0.6379, allocations: 0 / 0.7675 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.109e-05/0.6379, allocations: 0 / 0.7675 GB, free: 13.83 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002695/0.6406, allocations: 1.367 MB / 0.7688 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.6407, allocations: 8.031 kB / 0.7688 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002064/0.6427, allocations: 330.2 kB / 0.7691 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.6444, allocations: 0.8516 MB / 0.77 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-05/0.6445, allocations: 74 kB / 0.77 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.6447, allocations: 95.98 kB / 0.7701 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.6465, allocations: 1.081 MB / 0.7712 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.6466, allocations: 0 / 0.7712 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.6467, allocations: 44 kB / 0.7712 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-05/0.6468, allocations: 37.98 kB / 0.7712 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.6485, allocations: 1.006 MB / 0.7722 GB, free: 8.848 MB / 0.5919 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.006801/0.6553, allocations: 4.248 MB / 0.7764 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000901/0.6562, allocations: 0.5991 MB / 0.777 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.39e-05/0.6563, allocations: 16.41 kB / 0.777 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.6564, allocations: 43 kB / 0.777 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.304e-06/0.6564, allocations: 0 / 0.777 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.00435/0.6607, allocations: 2.229 MB / 0.7792 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.6608, allocations: 59.97 kB / 0.7793 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.6619, allocations: 0.8726 MB / 0.7801 GB, free: 344 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.548e-05/0.6619, allocations: 37.7 kB / 0.7801 GB, free: 300 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004023/0.6624, allocations: 0.5184 MB / 0.7806 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.6625, allocations: 189.3 kB / 0.7808 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.6626, allocations: 12 kB / 0.7808 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.6627, allocations: 337.9 kB / 0.7812 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/0.6632, allocations: 293.8 kB / 0.7814 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005884/0.6638, allocations: 436.9 kB / 0.7819 GB, free: 14.47 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.003157/0.667, allocations: 1.1 MB / 0.7829 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.667, allocations: 0 / 0.7829 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001602/0.6686, allocations: 0.9259 MB / 0.7838 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.6686, allocations: 8 kB / 0.7838 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.6686, allocations: 4 kB / 0.7838 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002243/0.6689, allocations: 102.7 kB / 0.7839 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008116/0.6697, allocations: 171.8 kB / 0.7841 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00369/0.6734, allocations: 4.334 MB / 0.7883 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.6746, allocations: 79.75 kB / 0.7884 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/0.6747, allocations: 28 kB / 0.7884 GB, free: 7.289 MB / 0.6075 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: 17 * 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 (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006244/0.6753, allocations: 334.2 kB / 0.7888 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.6755, allocations: 102.8 kB / 0.7889 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.6757, allocations: 113.2 kB / 0.789 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.6757, allocations: 8 kB / 0.789 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6757, allocations: 7.938 kB / 0.789 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00112/0.6769, allocations: 0.7731 MB / 0.7897 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003365/0.6802, allocations: 1.996 MB / 0.7917 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.6803, allocations: 8.062 kB / 0.7917 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007115/0.681, allocations: 151.8 kB / 0.7918 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/0.6811, allocations: 48.77 kB / 0.7919 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.6812, allocations: 16 kB / 0.7919 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.6824, allocations: 1.502 MB / 0.7934 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.6824, allocations: 7.938 kB / 0.7934 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.6843, allocations: 1.376 MB / 0.7947 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005377/0.6848, allocations: 255.9 kB / 0.795 GB, free: 160 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.685, allocations: 16 kB / 0.795 GB, free: 144 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008078/0.6858, allocations: 73.05 kB / 0.7951 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.6859, allocations: 55.83 kB / 0.7951 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.534e-05/0.686, allocations: 28.05 kB / 0.7951 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007911/0.6868, allocations: 0.6043 MB / 0.7957 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6868, allocations: 0 / 0.7957 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009929/0.6878, allocations: 304 kB / 0.796 GB, free: 15.09 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004286/0.6882, allocations: 199.1 kB / 0.7962 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.6898, allocations: 1.007 MB / 0.7972 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.6898, allocations: 4 kB / 0.7972 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006214/0.6904, allocations: 446 kB / 0.7976 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/0.6932, allocations: 0.6211 MB / 0.7982 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.6966, allocations: 2.51 MB / 0.8007 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007523/0.6974, allocations: 1.19 MB / 0.8018 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009782/0.6984, allocations: 249.6 kB / 0.8021 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.6986, allocations: 79.42 kB / 0.8021 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of SimCode: time 8.31e-07/0.6986, allocations: 0 / 0.8021 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of Templates: time 0.03242/0.731, allocations: 20.57 MB / 0.8222 GB, free: 4.477 MB / 0.6387 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) Environment - environmentSimulation: