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.001595/0.001595, allocations: 108 kB / 15.61 MB, free: 152 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.001975/0.001976, allocations: 194.3 kB / 16.53 MB, free: 6.699 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.506/1.506, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.823/1.823, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001555/0.001555, allocations: 68.19 kB / 0.6715 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2882, allocations: 114.6 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.7919/1.08, allocations: 187.3 MB / 0.9662 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0174/1.098, allocations: 13.04 MB / 0.979 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002493/1.1, allocations: 31.22 kB / 0.979 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/1.102, allocations: 425.4 kB / 0.9794 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004126/1.106, allocations: 1.158 MB / 0.9805 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002295/1.108, allocations: 0.6951 MB / 0.9812 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003622/1.112, allocations: 1.993 MB / 0.9832 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/1.113, allocations: 0.8462 MB / 0.984 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005323/1.119, allocations: 1.8 MB / 0.9857 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/1.121, allocations: 0.669 MB / 0.9864 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002375/1.121, allocations: 81.44 kB / 0.9865 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/1.123, allocations: 0.865 MB / 0.9873 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004773/1.124, allocations: 390.2 kB / 0.9877 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007674/1.125, allocations: 0.4918 MB / 0.9882 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00287/1.128, allocations: 1.474 MB / 0.9896 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.128, allocations: 0 / 0.9896 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.322e-06/1.128, allocations: 0 / 0.9896 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.338e-05/1.128, allocations: 0 / 0.9896 GB, free: 10.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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001968/1.13, allocations: 1.234 MB / 0.9908 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/1.13, allocations: 7.688 kB / 0.9908 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/1.131, allocations: 216.4 kB / 0.991 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000985/1.132, allocations: 0.6399 MB / 0.9917 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.49e-05/1.132, allocations: 56.75 kB / 0.9917 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/1.132, allocations: 76.16 kB / 0.9918 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/1.133, allocations: 0.9277 MB / 0.9927 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/1.133, allocations: 3.938 kB / 0.9927 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-05/1.133, allocations: 33.38 kB / 0.9927 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.674e-05/1.134, allocations: 32.06 kB / 0.9928 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009239/1.134, allocations: 0.6163 MB / 0.9934 GB, free: 7.406 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.00445/1.139, allocations: 4.596 MB / 0.9978 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007228/1.14, allocations: 0.546 MB / 0.9984 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/1.14, allocations: 246.8 kB / 0.9986 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/1.14, allocations: 103 kB / 0.9987 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/1.14, allocations: 41.06 kB / 0.9988 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.114e-06/1.14, allocations: 0 / 0.9988 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002757/1.143, allocations: 1.584 MB / 1 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/1.143, allocations: 110.3 kB / 1 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008093/1.144, allocations: 0.715 MB / 1.001 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/1.144, allocations: 32.45 kB / 1.001 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003089/1.144, allocations: 413.6 kB / 1.002 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/1.144, allocations: 163.5 kB / 1.002 GB, free: 464 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/1.145, allocations: 118.6 kB / 1.002 GB, free: 392 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.145, allocations: 384.8 kB / 1.002 GB, free: 16 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/1.145, allocations: 185.2 kB / 1.002 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004594/1.146, allocations: 417.1 kB / 1.003 GB, free: 15.55 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.002103/1.148, allocations: 1.172 MB / 1.004 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.148, allocations: 2.688 kB / 1.004 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009607/1.149, allocations: 0.6628 MB / 1.005 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/1.149, allocations: 11.81 kB / 1.005 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/1.149, allocations: 9.109 kB / 1.005 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/1.149, allocations: 14.62 kB / 1.005 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/1.149, allocations: 129.7 kB / 1.005 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/1.149, allocations: 13.38 kB / 1.005 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005776/1.15, allocations: 33.06 kB / 1.005 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/1.15, allocations: 26.19 kB / 1.005 GB, free: 14.34 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.0003581/1.15, allocations: 276.8 kB / 1.005 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/1.15, allocations: 86.84 kB / 1.005 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/1.151, allocations: 92.67 kB / 1.005 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/1.151, allocations: 4.906 kB / 1.005 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.151, allocations: 4 kB / 1.005 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007171/1.151, allocations: 0.7021 MB / 1.006 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/1.154, allocations: 1.635 MB / 1.007 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.154, allocations: 10.69 kB / 1.007 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/1.154, allocations: 98.14 kB / 1.008 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/1.154, allocations: 11.34 kB / 1.008 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/1.154, allocations: 19.11 kB / 1.008 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/1.154, allocations: 5.594 kB / 1.008 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/1.154, allocations: 8.25 kB / 1.008 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/1.155, allocations: 0.8878 MB / 1.009 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/1.155, allocations: 206.6 kB / 1.009 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/1.156, allocations: 19.75 kB / 1.009 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/1.156, allocations: 19.8 kB / 1.009 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/1.156, allocations: 36.94 kB / 1.009 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/1.156, allocations: 23.45 kB / 1.009 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005586/1.157, allocations: 0.506 MB / 1.009 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.11e-07/1.157, allocations: 0 / 1.009 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006914/1.157, allocations: 200.8 kB / 1.009 GB, free: 10.97 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.0004407/1.158, allocations: 208.2 kB / 1.01 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008603/1.159, allocations: 0.5017 MB / 1.01 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/1.159, allocations: 4 kB / 1.01 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002822/1.159, allocations: 211.5 kB / 1.01 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/1.161, allocations: 474.5 kB / 1.011 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/1.164, allocations: 1.663 MB / 1.012 GB, free: 9.16 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/1.164, allocations: 1.032 MB / 1.013 GB, free: 8.301 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006711/1.165, allocations: 195.2 kB / 1.014 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/1.165, allocations: 68.14 kB / 1.014 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/1.165, allocations: 0 / 1.014 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of Templates: time 0.02547/1.19, allocations: 15.07 MB / 1.028 GB, free: 15.01 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)