Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.00135/0.00135, 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.001301/0.001302, allocations: 193 kB / 16.13 MB, free: 6.664 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.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.994/2.994, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 70.28 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3568, allocations: 159.9 MB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2211/0.5779, allocations: 185.1 MB / 1.248 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7784/1.356, allocations: 13.1 MB / 1.261 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/1.358, allocations: 29.28 kB / 1.261 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001852/1.36, allocations: 348.7 kB / 1.261 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004428/1.365, allocations: 1.092 MB / 1.262 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002409/1.367, allocations: 0.626 MB / 1.263 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003939/1.371, allocations: 2.776 MB / 1.266 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/1.372, allocations: 0.7245 MB / 1.266 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005129/1.377, allocations: 1.659 MB / 1.268 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002692/1.38, allocations: 0.6861 MB / 1.269 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002067/1.38, allocations: 45.7 kB / 1.269 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/1.383, allocations: 0.9793 MB / 1.27 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005824/1.384, allocations: 355.3 kB / 1.27 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007891/1.385, allocations: 470.8 kB / 1.271 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002756/1.387, allocations: 1.497 MB / 1.272 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.387, allocations: 0 / 1.272 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.31e-07/1.387, allocations: 0 / 1.272 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.785e-05/1.387, allocations: 3.938 kB / 1.272 GB, free: 5.625 MB / 0.9981 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.002518/1.39, allocations: 1.235 MB / 1.273 GB, free: 20.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/1.39, allocations: 10.09 kB / 1.273 GB, free: 20.93 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/1.391, allocations: 216.6 kB / 1.273 GB, free: 20.88 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/1.393, allocations: 0.6488 MB / 1.274 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.611e-05/1.393, allocations: 56.25 kB / 1.274 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/1.393, allocations: 82.22 kB / 1.274 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/1.395, allocations: 0.9344 MB / 1.275 GB, free: 20.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/1.395, allocations: 2.656 kB / 1.275 GB, free: 20.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-05/1.395, allocations: 34.12 kB / 1.275 GB, free: 20.3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.889e-05/1.395, allocations: 31.34 kB / 1.275 GB, free: 20.3 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/1.396, allocations: 0.6226 MB / 1.276 GB, free: 20.29 MB / 1.014 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.005668/1.402, allocations: 4.577 MB / 1.28 GB, free: 17.12 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/1.403, allocations: 0.5469 MB / 1.281 GB, free: 16.95 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000573/1.404, allocations: 249 kB / 1.281 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/1.404, allocations: 102.9 kB / 1.281 GB, free: 16.83 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/1.404, allocations: 45.97 kB / 1.281 GB, free: 16.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 3.446e-06/1.404, allocations: 0 / 1.281 GB, free: 16.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.003964/1.408, allocations: 1.593 MB / 1.283 GB, free: 16.17 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.083e-05/1.408, allocations: 114.7 kB / 1.283 GB, free: 16.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/1.409, allocations: 0.7142 MB / 1.284 GB, free: 15.91 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.064e-05/1.409, allocations: 35.39 kB / 1.284 GB, free: 15.88 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000313/1.41, allocations: 413.7 kB / 1.284 GB, free: 15.69 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/1.41, allocations: 164.1 kB / 1.284 GB, free: 15.59 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/1.41, allocations: 123 kB / 1.284 GB, free: 15.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000224/1.41, allocations: 329.8 kB / 1.285 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/1.411, allocations: 188.2 kB / 1.285 GB, free: 15.26 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004949/1.411, allocations: 412.1 kB / 1.285 GB, free: 15.01 MB / 1.014 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.002559/1.414, allocations: 1.174 MB / 1.286 GB, free: 14.66 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/1.414, allocations: 5.469 kB / 1.286 GB, free: 14.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001118/1.415, allocations: 0.6794 MB / 1.287 GB, free: 14.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/1.415, allocations: 8.094 kB / 1.287 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/1.415, allocations: 8.359 kB / 1.287 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/1.415, allocations: 9.031 kB / 1.287 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/1.415, allocations: 124.6 kB / 1.287 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.443e-05/1.415, allocations: 14.83 kB / 1.287 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007985/1.416, allocations: 56.59 kB / 1.287 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/1.416, allocations: 27.05 kB / 1.287 GB, free: 14.56 MB / 1.014 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.0005506/1.417, allocations: 275.2 kB / 1.287 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/1.417, allocations: 87.64 kB / 1.288 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/1.417, allocations: 98.02 kB / 1.288 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/1.417, allocations: 4.906 kB / 1.288 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-05/1.417, allocations: 1.797 kB / 1.288 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008795/1.418, allocations: 0.6992 MB / 1.288 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/1.421, allocations: 1.646 MB / 1.29 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.421, allocations: 3.812 kB / 1.29 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004489/1.421, allocations: 101.5 kB / 1.29 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/1.421, allocations: 5.094 kB / 1.29 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/1.421, allocations: 15.94 kB / 1.29 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/1.422, allocations: 4.875 kB / 1.29 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/1.422, allocations: 12.53 kB / 1.29 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/1.423, allocations: 0.8652 MB / 1.291 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/1.423, allocations: 209.6 kB / 1.291 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/1.423, allocations: 22.36 kB / 1.291 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005733/1.424, allocations: 30.05 kB / 1.291 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.559e-05/1.424, allocations: 42.12 kB / 1.291 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/1.424, allocations: 23.2 kB / 1.291 GB, free: 12.86 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00078/1.425, allocations: 0.5068 MB / 1.292 GB, free: 12.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.31e-07/1.425, allocations: 0 / 1.292 GB, free: 12.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009757/1.426, allocations: 206.3 kB / 1.292 GB, free: 12.76 MB / 1.014 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.0005831/1.426, allocations: 204.5 kB / 1.292 GB, free: 12.65 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009017/1.427, allocations: 469.8 kB / 1.293 GB, free: 12.65 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.427, allocations: 1.094 kB / 1.293 GB, free: 12.65 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00035/1.427, allocations: 218.7 kB / 1.293 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/1.43, allocations: 450.2 kB / 1.293 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/1.433, allocations: 1.95 MB / 1.295 GB, free: 11.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009723/1.434, allocations: 1.026 MB / 1.296 GB, free: 10.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009488/1.435, allocations: 200.2 kB / 1.296 GB, free: 10.76 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/1.435, allocations: 67.25 kB / 1.296 GB, free: 10.75 MB / 1.014 GB Notification: Performance of SimCode: time 6.21e-07/1.435, allocations: 3.938 kB / 1.296 GB, free: 10.75 MB / 1.014 GB Notification: Performance of Templates: time 0.0299/1.465, allocations: 14.47 MB / 1.31 GB, free: 9.895 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)