Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001431/0.001431, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001085/0.001085, allocations: 193.4 kB / 16.25 MB, free: 6.629 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.403/1.403, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 66.27 kB / 0.9115 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3948, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2313/0.6261, allocations: 184.8 MB / 1.248 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8307/1.457, allocations: 12.95 MB / 1.261 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/1.459, allocations: 30.22 kB / 1.261 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001553/1.461, allocations: 365.3 kB / 1.261 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003954/1.465, allocations: 1.085 MB / 1.262 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/1.467, allocations: 0.6352 MB / 1.263 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003665/1.471, allocations: 2.024 MB / 1.265 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/1.472, allocations: 0.8094 MB / 1.266 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005636/1.478, allocations: 1.773 MB / 1.267 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002642/1.481, allocations: 0.7029 MB / 1.268 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002109/1.481, allocations: 79.72 kB / 1.268 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002653/1.483, allocations: 0.9104 MB / 1.269 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005895/1.484, allocations: 387.3 kB / 1.269 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008807/1.485, allocations: 0.4967 MB / 1.27 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00334/1.488, allocations: 1.532 MB / 1.271 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.488, allocations: 2.781 kB / 1.271 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.853e-06/1.488, allocations: 0.8125 kB / 1.271 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.85e-05/1.488, allocations: 0 / 1.271 GB, free: 5.332 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.002512/1.491, allocations: 1.24 MB / 1.273 GB, free: 20.63 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/1.491, allocations: 11.88 kB / 1.273 GB, free: 20.63 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/1.492, allocations: 210.5 kB / 1.273 GB, free: 20.58 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/1.493, allocations: 0.6448 MB / 1.273 GB, free: 20.29 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.085e-05/1.493, allocations: 59.62 kB / 1.274 GB, free: 20.28 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/1.494, allocations: 79.34 kB / 1.274 GB, free: 20.28 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/1.495, allocations: 0.9339 MB / 1.275 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/1.495, allocations: 5.406 kB / 1.275 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.82e-05/1.495, allocations: 38.81 kB / 1.275 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-05/1.495, allocations: 27.97 kB / 1.275 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/1.497, allocations: 0.618 MB / 1.275 GB, free: 20.02 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.005837/1.502, allocations: 4.586 MB / 1.28 GB, free: 16.87 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/1.503, allocations: 0.541 MB / 1.28 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004353/1.504, allocations: 251.1 kB / 1.28 GB, free: 16.67 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002318/1.504, allocations: 102.6 kB / 1.281 GB, free: 16.58 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/1.504, allocations: 48.14 kB / 1.281 GB, free: 16.54 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.756e-06/1.504, allocations: 0 / 1.281 GB, free: 16.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.004232/1.508, allocations: 1.595 MB / 1.282 GB, free: 15.92 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/1.509, allocations: 108.9 kB / 1.282 GB, free: 15.79 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/1.51, allocations: 0.7145 MB / 1.283 GB, free: 15.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.653e-05/1.51, allocations: 36.55 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/1.51, allocations: 413.5 kB / 1.283 GB, free: 15.44 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/1.511, allocations: 165.6 kB / 1.284 GB, free: 15.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/1.511, allocations: 118 kB / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.511, allocations: 333.3 kB / 1.284 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/1.511, allocations: 186.3 kB / 1.284 GB, free: 15.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005156/1.512, allocations: 420.1 kB / 1.285 GB, free: 14.77 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.0026/1.514, allocations: 1.181 MB / 1.286 GB, free: 14.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/1.514, allocations: 1.875 kB / 1.286 GB, free: 14.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001344/1.516, allocations: 0.6759 MB / 1.286 GB, free: 14.35 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/1.516, allocations: 8.25 kB / 1.286 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/1.516, allocations: 7.891 kB / 1.286 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.005e-05/1.516, allocations: 9.25 kB / 1.286 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004973/1.516, allocations: 124.5 kB / 1.286 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-05/1.516, allocations: 15.72 kB / 1.286 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008933/1.517, allocations: 55.52 kB / 1.287 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/1.517, allocations: 28.16 kB / 1.287 GB, free: 14.34 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.0005899/1.518, allocations: 272.1 kB / 1.287 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/1.518, allocations: 88.91 kB / 1.287 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/1.519, allocations: 89.53 kB / 1.287 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/1.519, allocations: 6.031 kB / 1.287 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/1.519, allocations: 3.078 kB / 1.287 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009461/1.52, allocations: 0.7004 MB / 1.288 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003294/1.523, allocations: 1.647 MB / 1.289 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.523, allocations: 4.438 kB / 1.289 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005035/1.523, allocations: 95.5 kB / 1.289 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/1.523, allocations: 7.75 kB / 1.289 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/1.523, allocations: 15.3 kB / 1.289 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.316e-05/1.523, allocations: 10.17 kB / 1.289 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.523, allocations: 7.688 kB / 1.289 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/1.525, allocations: 0.868 MB / 1.29 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005071/1.525, allocations: 209 kB / 1.29 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/1.526, allocations: 18.34 kB / 1.291 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006431/1.526, allocations: 32.58 kB / 1.291 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.402e-05/1.526, allocations: 41.08 kB / 1.291 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.687e-05/1.526, allocations: 21.2 kB / 1.291 GB, free: 12.67 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009221/1.527, allocations: 0.512 MB / 1.291 GB, free: 12.58 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/1.527, allocations: 0 / 1.291 GB, free: 12.58 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001152/1.528, allocations: 204.6 kB / 1.291 GB, free: 12.57 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.0006288/1.529, allocations: 207.7 kB / 1.291 GB, free: 12.47 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001115/1.53, allocations: 0.5128 MB / 1.292 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/1.53, allocations: 1.125 kB / 1.292 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003485/1.531, allocations: 213.1 kB / 1.292 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/1.533, allocations: 483.2 kB / 1.293 GB, free: 12.39 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/1.537, allocations: 1.946 MB / 1.295 GB, free: 11.38 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009715/1.537, allocations: 1.035 MB / 1.296 GB, free: 10.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001092/1.539, allocations: 196.4 kB / 1.296 GB, free: 10.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/1.539, allocations: 61.36 kB / 1.296 GB, free: 10.62 MB / 1.014 GB Notification: Performance of SimCode: time 9.12e-07/1.539, allocations: 5.188 kB / 1.296 GB, free: 10.61 MB / 1.014 GB Notification: Performance of Templates: time 0.03311/1.572, allocations: 14.98 MB / 1.31 GB, free: 9.723 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)