Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.00122/0.00122, allocations: 99.94 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.001387/0.001387, 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.301/1.301, 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.9589/0.9589, allocations: 143.3 MB / 434.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002996, allocations: 15.98 kB / 0.5158 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1391, allocations: 83.39 MB / 0.5973 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.3968/0.5359, allocations: 155.8 MB / 0.7494 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01326/0.5492, allocations: 10.93 MB / 0.7601 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000968/0.5502, allocations: 35.75 kB / 0.7601 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.5517, allocations: 434 kB / 0.7606 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002864/0.5546, allocations: 1.048 MB / 0.7616 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002465/0.5571, allocations: 0.8153 MB / 0.7624 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001877/0.5589, allocations: 1.169 MB / 0.7635 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000884/0.5598, allocations: 0.6171 MB / 0.7641 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002802/0.5627, allocations: 1.215 MB / 0.7653 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006546/0.5633, allocations: 434.2 kB / 0.7657 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.418e-05/0.5634, allocations: 32 kB / 0.7658 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.5645, allocations: 423.3 kB / 0.7662 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003088/0.5649, allocations: 299.2 kB / 0.7664 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.5651, allocations: 205.2 kB / 0.7666 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.5661, allocations: 1.044 MB / 0.7677 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5661, allocations: 0 / 0.7677 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5662, allocations: 0 / 0.7677 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.5662, allocations: 0 / 0.7677 GB, free: 13.55 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.001593/0.5678, allocations: 1.058 MB / 0.7687 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.5678, allocations: 8.031 kB / 0.7687 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.569, allocations: 215.4 kB / 0.7689 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.57, allocations: 0.6212 MB / 0.7695 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.452e-05/0.5701, allocations: 58 kB / 0.7696 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.5702, allocations: 80 kB / 0.7696 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.5715, allocations: 0.917 MB / 0.7705 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.5715, allocations: 4 kB / 0.7705 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.694e-05/0.5716, allocations: 32 kB / 0.7706 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.075e-05/0.5716, allocations: 33.25 kB / 0.7706 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009385/0.5726, allocations: 0.6138 MB / 0.7712 GB, free: 9.746 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.004076/0.5767, allocations: 4.583 MB / 0.7757 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000757/0.5774, allocations: 0.5504 MB / 0.7762 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.98e-05/0.5775, allocations: 14.41 kB / 0.7762 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.5775, allocations: 42.5 kB / 0.7763 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.475e-06/0.5776, allocations: 0 / 0.7763 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002641/0.5802, allocations: 1.586 MB / 0.7778 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.5803, allocations: 110.8 kB / 0.7779 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007733/0.5811, allocations: 0.7038 MB / 0.7786 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.5811, allocations: 37.7 kB / 0.7786 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.5814, allocations: 419.7 kB / 0.779 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.5815, allocations: 157.8 kB / 0.7792 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.5816, allocations: 12 kB / 0.7792 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5817, allocations: 330 kB / 0.7795 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.582, allocations: 185.2 kB / 0.7797 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.5824, allocations: 413 kB / 0.7801 GB, free: 100 kB / 0.5919 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.001631/0.5841, allocations: 0.6702 MB / 0.7808 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.5841, allocations: 7.953 kB / 0.7808 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009572/0.585, allocations: 0.6727 MB / 0.7814 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.5851, allocations: 4 kB / 0.7814 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.5851, allocations: 8.859 kB / 0.7814 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.5851, allocations: 12.78 kB / 0.7814 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.5856, allocations: 127.8 kB / 0.7816 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/0.5856, allocations: 15.94 kB / 0.7816 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006304/0.5862, allocations: 47.81 kB / 0.7816 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.761e-05/0.5863, allocations: 32 kB / 0.7817 GB, free: 14.48 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003572/0.5867, allocations: 277.5 kB / 0.7819 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.5868, allocations: 90.91 kB / 0.782 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.587, allocations: 83.67 kB / 0.7821 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.587, allocations: 8 kB / 0.7821 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.587, allocations: 0 / 0.7821 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000675/0.5877, allocations: 0.7038 MB / 0.7828 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.59, allocations: 1.633 MB / 0.7844 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.59, allocations: 4 kB / 0.7844 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004699/0.5905, allocations: 107.8 kB / 0.7845 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.988e-06/0.5905, allocations: 8.547 kB / 0.7845 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.5906, allocations: 16 kB / 0.7845 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.5906, allocations: 8 kB / 0.7845 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.5906, allocations: 9.078 kB / 0.7845 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.5917, allocations: 1.053 MB / 0.7855 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.592, allocations: 216 kB / 0.7858 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.775e-05/0.5921, allocations: 16 kB / 0.7858 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005082/0.5927, allocations: 35.97 kB / 0.7858 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.5927, allocations: 39.86 kB / 0.7858 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.5928, allocations: 19.98 kB / 0.7859 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005735/0.5933, allocations: 0.5029 MB / 0.7864 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5933, allocations: 0 / 0.7864 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007036/0.5941, allocations: 204 kB / 0.7865 GB, free: 9.102 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 (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.0004248/0.5945, allocations: 196.5 kB / 0.7867 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007261/0.5952, allocations: 472.7 kB / 0.7872 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5952, allocations: 384 / 0.7872 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000282/0.5955, allocations: 212.4 kB / 0.7874 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.5974, allocations: 448.2 kB / 0.7878 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.6002, allocations: 2.006 MB / 0.7898 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006134/0.6008, allocations: 1.052 MB / 0.7908 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006099/0.6014, allocations: 192.8 kB / 0.791 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.6016, allocations: 67.42 kB / 0.7911 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.6016, allocations: 0 / 0.7911 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of Templates: time 0.02167/0.6233, allocations: 13.95 MB / 0.8047 GB, free: 6.746 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) Environment - environmentSimulation: