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.001092/0.001092, allocations: 101.4 kB / 15.69 MB, free: 140 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 200.9 kB / 16.63 MB, free: 6.324 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.444/1.444, allocations: 205.1 MB / 222.5 MB, free: 4.359 MB / 174.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.937/1.937, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001685/0.001685, allocations: 72.48 kB / 0.6722 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3119, allocations: 114.6 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.7113/1.023, allocations: 187.3 MB / 0.967 GB, free: 392 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01686/1.04, allocations: 13.04 MB / 0.9797 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002559/1.043, allocations: 32.5 kB / 0.9798 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001812/1.045, allocations: 429 kB / 0.9802 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004328/1.049, allocations: 1.154 MB / 0.9813 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002546/1.052, allocations: 0.7 MB / 0.982 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003649/1.055, allocations: 2.001 MB / 0.9839 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/1.057, allocations: 0.8379 MB / 0.9847 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00468/1.061, allocations: 1.804 MB / 0.9865 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/1.063, allocations: 0.6659 MB / 0.9872 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001517/1.063, allocations: 80.78 kB / 0.9872 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/1.066, allocations: 0.8716 MB / 0.9881 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000459/1.066, allocations: 389.3 kB / 0.9885 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007476/1.067, allocations: 0.4954 MB / 0.9889 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003473/1.07, allocations: 1.497 MB / 0.9904 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.07, allocations: 0 / 0.9904 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.544e-06/1.07, allocations: 3.938 kB / 0.9904 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.985e-05/1.07, allocations: 0 / 0.9904 GB, free: 9.977 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002122/1.073, allocations: 1.235 MB / 0.9916 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.073, allocations: 10.03 kB / 0.9916 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/1.074, allocations: 213.5 kB / 0.9918 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/1.075, allocations: 0.6787 MB / 0.9925 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/1.075, allocations: 56.59 kB / 0.9925 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/1.075, allocations: 76.84 kB / 0.9926 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/1.077, allocations: 0.9286 MB / 0.9935 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/1.077, allocations: 3.938 kB / 0.9935 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.431e-05/1.077, allocations: 34.38 kB / 0.9936 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/1.077, allocations: 30.12 kB / 0.9936 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009067/1.078, allocations: 0.6194 MB / 0.9942 GB, free: 7.344 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.005005/1.083, allocations: 4.567 MB / 0.9987 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008042/1.084, allocations: 0.5504 MB / 0.9992 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/1.084, allocations: 249.8 kB / 0.9994 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003194/1.084, allocations: 96.66 kB / 0.9995 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/1.085, allocations: 39.44 kB / 0.9996 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 3.657e-06/1.085, allocations: 0 / 0.9996 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002886/1.087, allocations: 1.586 MB / 1.001 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/1.087, allocations: 107.7 kB / 1.001 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008876/1.088, allocations: 0.7137 MB / 1.002 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/1.088, allocations: 35.8 kB / 1.002 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/1.089, allocations: 412.4 kB / 1.002 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/1.089, allocations: 165.4 kB / 1.002 GB, free: 420 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/1.089, allocations: 120.7 kB / 1.003 GB, free: 344 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002207/1.089, allocations: 388 kB / 1.003 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/1.09, allocations: 189.1 kB / 1.003 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005011/1.09, allocations: 411.5 kB / 1.004 GB, free: 15.5 MB / 0.7481 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.002219/1.092, allocations: 1.163 MB / 1.005 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.092, allocations: 1.562 kB / 1.005 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009559/1.093, allocations: 0.6715 MB / 1.005 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/1.093, allocations: 11.94 kB / 1.005 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/1.093, allocations: 5 kB / 1.005 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/1.093, allocations: 9.75 kB / 1.005 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004431/1.094, allocations: 128.2 kB / 1.005 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/1.094, allocations: 15.45 kB / 1.006 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/1.094, allocations: 24.19 kB / 1.006 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/1.094, allocations: 27.44 kB / 1.006 GB, free: 14.31 MB / 0.7481 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.0003758/1.095, allocations: 281.2 kB / 1.006 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/1.095, allocations: 94.23 kB / 1.006 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/1.095, allocations: 89.31 kB / 1.006 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.095, allocations: 5.219 kB / 1.006 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/1.095, allocations: 0 / 1.006 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008088/1.096, allocations: 0.7072 MB / 1.007 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/1.098, allocations: 1.637 MB / 1.008 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.098, allocations: 4.875 kB / 1.008 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/1.099, allocations: 101.7 kB / 1.008 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/1.099, allocations: 11.22 kB / 1.008 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/1.099, allocations: 15.81 kB / 1.008 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/1.099, allocations: 9.062 kB / 1.008 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.099, allocations: 8.906 kB / 1.008 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/1.1, allocations: 0.8878 MB / 1.009 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002838/1.1, allocations: 206.5 kB / 1.01 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.704e-05/1.101, allocations: 19.78 kB / 1.01 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/1.101, allocations: 19.27 kB / 1.01 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/1.101, allocations: 38.59 kB / 1.01 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/1.101, allocations: 23.11 kB / 1.01 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005972/1.102, allocations: 0.5078 MB / 1.01 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.523e-06/1.102, allocations: 0 / 1.01 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007058/1.102, allocations: 206.6 kB / 1.01 GB, free: 10.93 MB / 0.7481 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.0004551/1.103, allocations: 199.2 kB / 1.01 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007757/1.104, allocations: 476.1 kB / 1.011 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.104, allocations: 4 kB / 1.011 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002767/1.104, allocations: 213.7 kB / 1.011 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/1.106, allocations: 479.3 kB / 1.012 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/1.108, allocations: 1.631 MB / 1.013 GB, free: 9.141 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006818/1.109, allocations: 1.034 MB / 1.014 GB, free: 8.281 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006185/1.11, allocations: 197.7 kB / 1.014 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/1.11, allocations: 60.28 kB / 1.014 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of SimCode: time 6.41e-07/1.11, allocations: 0 / 1.014 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of Templates: time 0.03181/1.142, allocations: 15.05 MB / 1.029 GB, free: 15.02 MB / 0.7637 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)