Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001128/0.001128, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001167/0.001167, allocations: 189.9 kB / 16.13 MB, free: 6.66 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.361/1.361, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002219/0.002219, allocations: 288.9 kB / 290.2 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9814/0.9814, allocations: 169.2 MB / 0.4977 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 93.52 kB / 0.5945 GB, free: 28.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1779, allocations: 86.98 MB / 0.6794 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5072/0.6851, allocations: 185 MB / 0.8601 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0156/0.7007, allocations: 13.12 MB / 0.8729 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.7022, allocations: 29.41 kB / 0.873 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.7035, allocations: 342.5 kB / 0.8733 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002945/0.7065, allocations: 1.099 MB / 0.8744 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.7083, allocations: 0.6292 MB / 0.875 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003941/0.7123, allocations: 2.769 MB / 0.8777 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.7138, allocations: 0.7213 MB / 0.8784 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005298/0.7191, allocations: 1.657 MB / 0.88 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002559/0.7216, allocations: 0.7 MB / 0.8807 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002478/0.7219, allocations: 45.34 kB / 0.8807 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.7244, allocations: 0.9739 MB / 0.8817 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000606/0.725, allocations: 353.8 kB / 0.882 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009433/0.726, allocations: 473.8 kB / 0.8825 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002362/0.7283, allocations: 1.492 MB / 0.8839 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7284, allocations: 6.812 kB / 0.8839 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.82e-07/0.7284, allocations: 3.938 kB / 0.8839 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.7284, allocations: 4 kB / 0.8839 GB, free: 3.23 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.001801/0.7302, allocations: 1.235 MB / 0.8851 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.7303, allocations: 7.5 kB / 0.8852 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.7315, allocations: 213.5 kB / 0.8854 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.7326, allocations: 0.6414 MB / 0.886 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.7326, allocations: 58.19 kB / 0.886 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.7327, allocations: 78.77 kB / 0.8861 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.734, allocations: 0.9359 MB / 0.887 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.734, allocations: 7.891 kB / 0.887 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.7342, allocations: 38.09 kB / 0.8871 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.741e-05/0.7342, allocations: 30.44 kB / 0.8871 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008991/0.7351, allocations: 0.6221 MB / 0.8877 GB, free: 0.582 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.00455/0.7397, allocations: 4.575 MB / 0.8922 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007464/0.7404, allocations: 0.5433 MB / 0.8927 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/0.7408, allocations: 247.7 kB / 0.8929 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/0.741, allocations: 98.44 kB / 0.893 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.741, allocations: 41.41 kB / 0.8931 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.705e-06/0.741, allocations: 0 / 0.8931 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002931/0.744, allocations: 1.604 MB / 0.8946 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.744, allocations: 108.6 kB / 0.8948 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007973/0.7449, allocations: 0.7147 MB / 0.8954 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.745, allocations: 36.61 kB / 0.8955 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000341/0.7453, allocations: 419.7 kB / 0.8959 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.7454, allocations: 161.7 kB / 0.896 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.7456, allocations: 118.2 kB / 0.8962 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.7457, allocations: 326 kB / 0.8965 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.746, allocations: 185.2 kB / 0.8966 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004574/0.7465, allocations: 421 kB / 0.897 GB, free: 8.426 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.002427/0.7489, allocations: 1.184 MB / 0.8982 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.749, allocations: 4 kB / 0.8982 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001066/0.75, allocations: 0.668 MB / 0.8989 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.7501, allocations: 11.94 kB / 0.8989 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.7501, allocations: 4 kB / 0.8989 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.7501, allocations: 12 kB / 0.8989 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/0.7506, allocations: 119.8 kB / 0.899 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/0.7506, allocations: 15.92 kB / 0.899 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006563/0.7513, allocations: 56.28 kB / 0.8991 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.89e-05/0.7514, allocations: 33.88 kB / 0.8991 GB, free: 6.215 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.0003919/0.7518, allocations: 275.5 kB / 0.8994 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.7519, allocations: 86.91 kB / 0.8994 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.7521, allocations: 87.66 kB / 0.8995 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.7521, allocations: 4 kB / 0.8995 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.7522, allocations: 4 kB / 0.8995 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009029/0.7531, allocations: 0.6988 MB / 0.9002 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/0.7557, allocations: 1.64 MB / 0.9018 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.7557, allocations: 4 kB / 0.9018 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.7562, allocations: 95.89 kB / 0.9019 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.7562, allocations: 12.03 kB / 0.9019 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.7563, allocations: 23.97 kB / 0.9019 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.7563, allocations: 8.406 kB / 0.902 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7563, allocations: 4 kB / 0.902 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.7575, allocations: 0.8727 MB / 0.9028 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/0.7579, allocations: 212 kB / 0.903 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.7581, allocations: 19.94 kB / 0.903 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005634/0.7587, allocations: 31.97 kB / 0.9031 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/0.7588, allocations: 47.83 kB / 0.9031 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.7588, allocations: 20 kB / 0.9031 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000676/0.7595, allocations: 0.5068 MB / 0.9036 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7595, allocations: 0 / 0.9036 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008209/0.7603, allocations: 208 kB / 0.9038 GB, free: 1.098 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.0004857/0.7608, allocations: 200.8 kB / 0.904 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000912/0.7617, allocations: 473.2 kB / 0.9045 GB, free: 460 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7618, allocations: 4 kB / 0.9045 GB, free: 456 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.7621, allocations: 212.1 kB / 0.9047 GB, free: 244 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.7643, allocations: 456.9 kB / 0.9051 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.7673, allocations: 1.951 MB / 0.907 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008469/0.7681, allocations: 1.032 MB / 0.908 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008277/0.769, allocations: 203 kB / 0.9082 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.7691, allocations: 63.38 kB / 0.9083 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/0.7691, allocations: 0 / 0.9083 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of Templates: time 0.0271/0.7963, allocations: 14.48 MB / 0.9224 GB, free: 14.24 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)