Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001504/0.001504, allocations: 89.73 kB / 15.06 MB, free: 1.098 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.001718/0.001719, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.4 MB / 222.1 MB, free: 5.898 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.638/1.638, allocations: 252 MB / 0.5102 GB, free: 4.805 MB / 414.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.0005917/0.000592, allocations: 12 kB / 0.6243 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6544/0.655, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1951/0.8502, allocations: 170.6 MB / 0.8947 GB, free: 352 kB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01692/0.8672, allocations: 12.21 MB / 0.9066 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.8686, allocations: 31.81 kB / 0.9066 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.8699, allocations: 298 kB / 0.9069 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.8726, allocations: 0.8785 MB / 0.9078 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.8744, allocations: 0.5428 MB / 0.9083 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.6294/1.504, allocations: 2.386 MB / 0.9107 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001882/1.506, allocations: 0.6121 MB / 0.9112 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006079/1.512, allocations: 1.377 MB / 0.9126 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002312/1.514, allocations: 0.6245 MB / 0.9132 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000157/1.514, allocations: 35.31 kB / 0.9132 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/1.516, allocations: 450.1 kB / 0.9137 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006486/1.517, allocations: 340.8 kB / 0.914 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001071/1.518, allocations: 204 kB / 0.9142 GB, free: 22.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002774/1.521, allocations: 1.058 MB / 0.9152 GB, free: 22.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/1.521, allocations: 0.7812 kB / 0.9152 GB, free: 22.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.487e-06/1.521, allocations: 0 / 0.9152 GB, free: 22.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.361e-05/1.521, allocations: 0 / 0.9152 GB, free: 22.02 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002485/1.523, allocations: 1.068 MB / 0.9163 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/1.523, allocations: 9.625 kB / 0.9163 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/1.525, allocations: 211.6 kB / 0.9165 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/1.526, allocations: 0.6134 MB / 0.9171 GB, free: 21.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.361e-05/1.526, allocations: 63.75 kB / 0.9171 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/1.526, allocations: 80.11 kB / 0.9172 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/1.528, allocations: 0.9264 MB / 0.9181 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/1.528, allocations: 9.422 kB / 0.9181 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.948e-05/1.529, allocations: 41.5 kB / 0.9182 GB, free: 20.74 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-05/1.529, allocations: 28.52 kB / 0.9182 GB, free: 20.74 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/1.53, allocations: 0.6143 MB / 0.9188 GB, free: 20.73 MB / 0.7325 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.005233/1.535, allocations: 4.602 MB / 0.9233 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008969/1.536, allocations: 0.5268 MB / 0.9238 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/1.537, allocations: 239.9 kB / 0.924 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002369/1.537, allocations: 100.1 kB / 0.9241 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/1.537, allocations: 46.03 kB / 0.9242 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.886e-06/1.537, allocations: 3.688 kB / 0.9242 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.003339/1.54, allocations: 1.557 MB / 0.9257 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/1.54, allocations: 109.2 kB / 0.9258 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/1.541, allocations: 0.713 MB / 0.9265 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/1.541, allocations: 35.08 kB / 0.9265 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/1.542, allocations: 421.1 kB / 0.9269 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/1.542, allocations: 164.4 kB / 0.9271 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/1.542, allocations: 13.86 kB / 0.9271 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.542, allocations: 386.1 kB / 0.9275 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/1.542, allocations: 180.6 kB / 0.9276 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000508/1.543, allocations: 414.1 kB / 0.928 GB, free: 15.46 MB / 0.7325 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.001564/1.545, allocations: 0.6562 MB / 0.9287 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.545, allocations: 3.719 kB / 0.9287 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009721/1.546, allocations: 0.6593 MB / 0.9293 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/1.546, allocations: 10.31 kB / 0.9293 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.546, allocations: 6.625 kB / 0.9293 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/1.546, allocations: 12.34 kB / 0.9293 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/1.546, allocations: 129.5 kB / 0.9295 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/1.546, allocations: 12.69 kB / 0.9295 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000686/1.547, allocations: 45.12 kB / 0.9295 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/1.547, allocations: 33.34 kB / 0.9296 GB, free: 15.24 MB / 0.7325 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.0005033/1.547, allocations: 279 kB / 0.9298 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/1.548, allocations: 85 kB / 0.9299 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/1.548, allocations: 90.02 kB / 0.93 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/1.548, allocations: 5.406 kB / 0.93 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/1.548, allocations: 0 / 0.93 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006865/1.548, allocations: 0.6992 MB / 0.9307 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/1.551, allocations: 1.636 MB / 0.9323 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.551, allocations: 7.469 kB / 0.9323 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004092/1.551, allocations: 102.2 kB / 0.9324 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/1.551, allocations: 13.23 kB / 0.9324 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/1.551, allocations: 17.52 kB / 0.9324 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/1.551, allocations: 9 kB / 0.9324 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.551, allocations: 5.75 kB / 0.9324 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/1.552, allocations: 0.879 MB / 0.9333 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/1.553, allocations: 210.7 kB / 0.9335 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/1.553, allocations: 16.95 kB / 0.9335 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004844/1.553, allocations: 41.75 kB / 0.9335 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/1.553, allocations: 35.69 kB / 0.9336 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/1.553, allocations: 29.02 kB / 0.9336 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005981/1.554, allocations: 0.5037 MB / 0.9341 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.21e-07/1.554, allocations: 0 / 0.9341 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008775/1.555, allocations: 206.4 kB / 0.9343 GB, free: 13.44 MB / 0.7325 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 (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.0004837/1.555, allocations: 198.6 kB / 0.9345 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007471/1.556, allocations: 468.4 kB / 0.9349 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.556, allocations: 2.188 kB / 0.9349 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/1.557, allocations: 216.4 kB / 0.9351 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/1.558, allocations: 457.8 kB / 0.9356 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/1.561, allocations: 2.002 MB / 0.9375 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005777/1.562, allocations: 1.032 MB / 0.9385 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007134/1.562, allocations: 204.3 kB / 0.9387 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/1.562, allocations: 59.53 kB / 0.9388 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/1.562, allocations: 0 / 0.9388 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of Templates: time 0.02355/1.586, allocations: 14.07 MB / 0.9525 GB, free: 10.62 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) Environment - environmentSimulation: