Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001144/0.001144, allocations: 103.4 kB / 16.29 MB, free: 6.023 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.001175/0.001175, allocations: 181.6 kB / 17.22 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.939/1.939, allocations: 292.3 MB / 0.5495 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 67.91 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2468, allocations: 114.6 MB / 0.7841 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6438/0.8906, allocations: 187.3 MB / 0.9669 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01681/0.9075, allocations: 13.04 MB / 0.9797 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.909, allocations: 35.81 kB / 0.9797 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.9107, allocations: 429.2 kB / 0.9801 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003612/0.9144, allocations: 1.151 MB / 0.9812 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.9165, allocations: 0.706 MB / 0.9819 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002937/0.9195, allocations: 1.993 MB / 0.9839 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.9208, allocations: 0.8413 MB / 0.9847 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003855/0.9246, allocations: 1.813 MB / 0.9865 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/0.9269, allocations: 0.6622 MB / 0.9871 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003331/0.9272, allocations: 80 kB / 0.9872 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002747/0.93, allocations: 0.8692 MB / 0.988 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000618/0.9306, allocations: 383 kB / 0.9884 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0009304/0.9315, allocations: 0.5015 MB / 0.9889 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002504/0.9341, allocations: 1.499 MB / 0.9904 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9341, allocations: 0 / 0.9904 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9341, allocations: 0 / 0.9904 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.752e-05/0.9341, allocations: 0 / 0.9904 GB, free: 7.18 MB / 0.7794 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.002013/0.9361, allocations: 1.226 MB / 0.9916 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.9362, allocations: 8.031 kB / 0.9916 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.9374, allocations: 216 kB / 0.9918 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009673/0.9384, allocations: 0.6364 MB / 0.9924 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.9384, allocations: 62 kB / 0.9925 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.9385, allocations: 79.94 kB / 0.9925 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.9398, allocations: 0.9288 MB / 0.9934 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.9399, allocations: 7.938 kB / 0.9934 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.611e-05/0.9399, allocations: 32 kB / 0.9935 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.803e-05/0.94, allocations: 33.25 kB / 0.9935 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009651/0.941, allocations: 0.6099 MB / 0.9941 GB, free: 3.172 MB / 0.7794 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.00411/0.9451, allocations: 4.574 MB / 0.9986 GB, free: 14.3 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007164/0.9458, allocations: 0.5364 MB / 0.9991 GB, free: 13.72 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.9461, allocations: 248.5 kB / 0.9993 GB, free: 13.47 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/0.9463, allocations: 105.1 kB / 0.9994 GB, free: 13.35 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.9464, allocations: 38.56 kB / 0.9995 GB, free: 13.3 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.9464, allocations: 4 kB / 0.9995 GB, free: 13.3 MB / 0.795 GB Notification: Performance of matching and sorting (n=45): time 0.002582/0.949, allocations: 1.575 MB / 1.001 GB, free: 11.66 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.9491, allocations: 119 kB / 1.001 GB, free: 11.52 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000802/0.9499, allocations: 0.7115 MB / 1.002 GB, free: 10.8 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.9499, allocations: 40.33 kB / 1.002 GB, free: 10.76 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.9502, allocations: 411.7 kB / 1.002 GB, free: 10.35 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.9504, allocations: 157.7 kB / 1.002 GB, free: 10.2 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.9505, allocations: 118.2 kB / 1.003 GB, free: 10.07 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.9507, allocations: 386.8 kB / 1.003 GB, free: 9.688 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.951, allocations: 185.2 kB / 1.003 GB, free: 9.508 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/0.9515, allocations: 417.5 kB / 1.003 GB, free: 9.004 MB / 0.795 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.002176/0.9536, allocations: 1.164 MB / 1.005 GB, free: 7.738 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.9537, allocations: 4 kB / 1.005 GB, free: 7.734 MB / 0.795 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000995/0.9547, allocations: 0.6647 MB / 1.005 GB, free: 7.062 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.9547, allocations: 13.19 kB / 1.005 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.9547, allocations: 8.781 kB / 1.005 GB, free: 7.043 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.9547, allocations: 15.92 kB / 1.005 GB, free: 7.027 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004567/0.9552, allocations: 131.8 kB / 1.005 GB, free: 6.898 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.9552, allocations: 8 kB / 1.005 GB, free: 6.891 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/0.9557, allocations: 27.98 kB / 1.005 GB, free: 6.863 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.9558, allocations: 28 kB / 1.005 GB, free: 6.836 MB / 0.795 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.0003422/0.9561, allocations: 274.6 kB / 1.006 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.9563, allocations: 83 kB / 1.006 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.9565, allocations: 91.58 kB / 1.006 GB, free: 6.387 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.9565, allocations: 8 kB / 1.006 GB, free: 6.379 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.9565, allocations: 6.375 kB / 1.006 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007491/0.9572, allocations: 0.6959 MB / 1.007 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/0.9596, allocations: 1.636 MB / 1.008 GB, free: 3.852 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.9597, allocations: 8.094 kB / 1.008 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.9601, allocations: 103.8 kB / 1.008 GB, free: 3.742 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.9602, allocations: 8.5 kB / 1.008 GB, free: 3.734 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.9602, allocations: 19.98 kB / 1.008 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.9602, allocations: 8 kB / 1.008 GB, free: 3.707 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.9602, allocations: 7.938 kB / 1.008 GB, free: 3.699 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.9613, allocations: 0.8849 MB / 1.009 GB, free: 2.754 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.9616, allocations: 208 kB / 1.009 GB, free: 2.531 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.533e-05/0.9617, allocations: 20.5 kB / 1.009 GB, free: 2.512 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004165/0.9621, allocations: 19.98 kB / 1.009 GB, free: 2.492 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.9622, allocations: 39.84 kB / 1.009 GB, free: 2.453 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.9622, allocations: 19.98 kB / 1.009 GB, free: 2.434 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005897/0.9628, allocations: 0.5068 MB / 1.01 GB, free: 1.93 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9628, allocations: 0 / 1.01 GB, free: 1.93 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006681/0.9635, allocations: 200.7 kB / 1.01 GB, free: 1.734 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],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.0004558/0.964, allocations: 194.5 kB / 1.01 GB, free: 1.559 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007656/0.9647, allocations: 482.1 kB / 1.011 GB, free: 1.09 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.9648, allocations: 8.188 kB / 1.011 GB, free: 1.082 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.965, allocations: 211.6 kB / 1.011 GB, free: 0.875 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/0.9669, allocations: 481.4 kB / 1.011 GB, free: 468 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.9693, allocations: 1.639 MB / 1.013 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006719/0.97, allocations: 1.039 MB / 1.014 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005862/0.9706, allocations: 201.4 kB / 1.014 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.9707, allocations: 63.44 kB / 1.014 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of SimCode: time 6.52e-07/0.9707, allocations: 0 / 1.014 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of Templates: time 0.02646/0.9972, allocations: 15.05 MB / 1.029 GB, free: 14.71 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)