Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 204.2 kB / 16.79 MB, free: 6.84 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.394/1.394, allocations: 222.9 MB / 240.5 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7247/0.7247, allocations: 122.9 MB / 413.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001467, allocations: 72.03 kB / 0.4904 GB, free: 14.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1836, allocations: 77.93 MB / 0.5665 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5204/0.7041, allocations: 185 MB / 0.7472 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01839/0.7225, allocations: 13.12 MB / 0.76 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.7244, allocations: 27.81 kB / 0.76 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.7264, allocations: 350 kB / 0.7604 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00353/0.73, allocations: 1.093 MB / 0.7614 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.7322, allocations: 0.6306 MB / 0.7621 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003923/0.7362, allocations: 2.775 MB / 0.7648 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.7374, allocations: 0.7192 MB / 0.7655 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004613/0.742, allocations: 1.666 MB / 0.7671 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002351/0.7444, allocations: 0.6887 MB / 0.7678 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002867/0.7447, allocations: 44 kB / 0.7678 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.7473, allocations: 0.9858 MB / 0.7688 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007289/0.7481, allocations: 351 kB / 0.7691 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.7492, allocations: 473.5 kB / 0.7696 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002503/0.7518, allocations: 1.495 MB / 0.771 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.7518, allocations: 0 / 0.771 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.497e-06/0.7518, allocations: 0 / 0.771 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.041e-05/0.7518, allocations: 3.938 kB / 0.771 GB, free: 6.527 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002095/0.7539, allocations: 1.231 MB / 0.7722 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.754, allocations: 12.03 kB / 0.7722 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.7553, allocations: 210.6 kB / 0.7724 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.7563, allocations: 0.6519 MB / 0.7731 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.954e-05/0.7564, allocations: 62 kB / 0.7731 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.7565, allocations: 76 kB / 0.7732 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.7579, allocations: 0.9327 MB / 0.7741 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.7579, allocations: 3.938 kB / 0.7741 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.802e-05/0.758, allocations: 36 kB / 0.7742 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-05/0.7581, allocations: 33.23 kB / 0.7742 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009639/0.759, allocations: 0.6177 MB / 0.7748 GB, free: 2.488 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.004677/0.7637, allocations: 4.586 MB / 0.7793 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008558/0.7646, allocations: 0.5373 MB / 0.7798 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.765, allocations: 243.3 kB / 0.78 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002087/0.7652, allocations: 101.1 kB / 0.7801 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.7652, allocations: 47.19 kB / 0.7802 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.805e-06/0.7652, allocations: 0 / 0.7802 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.003027/0.7683, allocations: 1.591 MB / 0.7817 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.7683, allocations: 110.8 kB / 0.7818 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008835/0.7692, allocations: 0.7157 MB / 0.7825 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.7693, allocations: 37.7 kB / 0.7826 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.7696, allocations: 419.6 kB / 0.783 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.7698, allocations: 157.8 kB / 0.7831 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.7699, allocations: 118.2 kB / 0.7832 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.7701, allocations: 334 kB / 0.7835 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.7704, allocations: 181.2 kB / 0.7837 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/0.7709, allocations: 421 kB / 0.7841 GB, free: 8.348 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/0.7732, allocations: 1.183 MB / 0.7853 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.7732, allocations: 0 / 0.7853 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00108/0.7743, allocations: 0.6751 MB / 0.7859 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.7743, allocations: 14.91 kB / 0.7859 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.7743, allocations: 4 kB / 0.7859 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/0.7744, allocations: 12.75 kB / 0.786 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.7748, allocations: 119.8 kB / 0.7861 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/0.7749, allocations: 23.92 kB / 0.7861 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007059/0.7756, allocations: 51.75 kB / 0.7861 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/0.7756, allocations: 36 kB / 0.7862 GB, free: 6.125 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 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0004903/0.7761, allocations: 269.6 kB / 0.7864 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.7763, allocations: 83 kB / 0.7865 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.7765, allocations: 87.66 kB / 0.7866 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.7765, allocations: 8 kB / 0.7866 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.7765, allocations: 0 / 0.7866 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007497/0.7773, allocations: 0.7041 MB / 0.7873 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.7798, allocations: 1.639 MB / 0.7889 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.7798, allocations: 4 kB / 0.7889 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004567/0.7803, allocations: 99.89 kB / 0.789 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.7803, allocations: 8.438 kB / 0.789 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.7803, allocations: 24.05 kB / 0.789 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.259e-05/0.7803, allocations: 15.94 kB / 0.789 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.7803, allocations: 4 kB / 0.789 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.7815, allocations: 0.8581 MB / 0.7899 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/0.7818, allocations: 212.1 kB / 0.7901 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.875e-05/0.7819, allocations: 15.94 kB / 0.7901 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005033/0.7824, allocations: 43.88 kB / 0.7901 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.7825, allocations: 35.84 kB / 0.7902 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.7826, allocations: 23.92 kB / 0.7902 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006365/0.7832, allocations: 0.5107 MB / 0.7907 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7832, allocations: 0 / 0.7907 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008695/0.7841, allocations: 204 kB / 0.7909 GB, free: 1.012 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.0005162/0.7846, allocations: 200 kB / 0.7911 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008357/0.7855, allocations: 473.9 kB / 0.7915 GB, free: 376 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7855, allocations: 0 / 0.7915 GB, free: 376 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002778/0.7858, allocations: 213.4 kB / 0.7917 GB, free: 164 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.7879, allocations: 459.1 kB / 0.7922 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/0.7912, allocations: 1.962 MB / 0.7941 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008884/0.7921, allocations: 1.032 MB / 0.7951 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008868/0.793, allocations: 199 kB / 0.7953 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.7932, allocations: 63.42 kB / 0.7954 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of SimCode: time 8.72e-07/0.7932, allocations: 0 / 0.7954 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of Templates: time 0.03003/0.8233, allocations: 14.44 MB / 0.8095 GB, free: 14.14 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)