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.001248/0.001248, allocations: 109 kB / 15.99 MB, free: 6.352 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.00121/0.00121, allocations: 198.5 kB / 16.91 MB, free: 6.188 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.368/1.368, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.708/1.708, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001537/0.001537, allocations: 64.97 kB / 0.6716 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.257, allocations: 114.5 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6691/0.9261, allocations: 184.8 MB / 0.964 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01674/0.9429, allocations: 12.93 MB / 0.9766 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.9445, allocations: 27.84 kB / 0.9767 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.946, allocations: 365 kB / 0.977 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003497/0.9496, allocations: 1.079 MB / 0.9781 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.9516, allocations: 0.6366 MB / 0.9787 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002919/0.9546, allocations: 1.997 MB / 0.9806 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.9558, allocations: 0.8052 MB / 0.9814 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004808/0.9606, allocations: 1.777 MB / 0.9832 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002349/0.963, allocations: 0.7081 MB / 0.9839 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002311/0.9632, allocations: 83.25 kB / 0.9839 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.9657, allocations: 0.9074 MB / 0.9848 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004906/0.9662, allocations: 383.4 kB / 0.9852 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008245/0.967, allocations: 0.4925 MB / 0.9857 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.9691, allocations: 1.119 MB / 0.9868 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.9691, allocations: 0 / 0.9868 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.815e-06/0.9691, allocations: 1.375 kB / 0.9868 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.891e-05/0.9691, allocations: 0 / 0.9868 GB, free: 4.715 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.002435/0.9715, allocations: 1.236 MB / 0.988 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.9716, allocations: 9.688 kB / 0.988 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.9729, allocations: 219.8 kB / 0.9882 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.974, allocations: 0.6335 MB / 0.9888 GB, free: 19.65 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/0.974, allocations: 57.22 kB / 0.9889 GB, free: 19.65 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.9742, allocations: 81.59 kB / 0.9889 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.9755, allocations: 0.9298 MB / 0.9898 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.9755, allocations: 5.156 kB / 0.9899 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.171e-05/0.9756, allocations: 31.81 kB / 0.9899 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/0.9757, allocations: 30.91 kB / 0.9899 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.9767, allocations: 0.6146 MB / 0.9905 GB, free: 19.38 MB / 0.7481 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.00522/0.9819, allocations: 4.582 MB / 0.995 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006449/0.9826, allocations: 0.541 MB / 0.9955 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/0.9829, allocations: 244 kB / 0.9957 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002043/0.9831, allocations: 104.4 kB / 0.9958 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.9832, allocations: 40.67 kB / 0.9959 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=43): time 3.416e-06/0.9832, allocations: 3.984 kB / 0.9959 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.002754/0.986, allocations: 1.585 MB / 0.9974 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.986, allocations: 111.3 kB / 0.9975 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007344/0.9868, allocations: 0.708 MB / 0.9982 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.9868, allocations: 36.55 kB / 0.9983 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.9871, allocations: 414 kB / 0.9987 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.9872, allocations: 161.4 kB / 0.9988 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.9874, allocations: 118.5 kB / 0.9989 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.9875, allocations: 389.6 kB / 0.9993 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.9878, allocations: 185.1 kB / 0.9995 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.9881, allocations: 411.2 kB / 0.9999 GB, free: 12.73 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.002093/0.9902, allocations: 1.168 MB / 1.001 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.9903, allocations: 0 / 1.001 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001016/0.9913, allocations: 0.6649 MB / 1.002 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.9913, allocations: 16 kB / 1.002 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.9913, allocations: 10.53 kB / 1.002 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.9914, allocations: 11.31 kB / 1.002 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/0.9918, allocations: 121.2 kB / 1.002 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.9919, allocations: 16.28 kB / 1.002 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007166/0.9926, allocations: 55.38 kB / 1.002 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/0.9926, allocations: 24.22 kB / 1.002 GB, free: 11.8 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.0004408/0.9931, allocations: 278.8 kB / 1.002 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.9932, allocations: 84.95 kB / 1.002 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.9934, allocations: 91.5 kB / 1.002 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.9934, allocations: 4.969 kB / 1.002 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.9934, allocations: 0 / 1.002 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006943/0.9941, allocations: 0.7005 MB / 1.003 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002341/0.9965, allocations: 1.647 MB / 1.005 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.9965, allocations: 6.125 kB / 1.005 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004326/0.997, allocations: 106.8 kB / 1.005 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.127e-05/0.997, allocations: 12.62 kB / 1.005 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.997, allocations: 13.03 kB / 1.005 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-06/0.997, allocations: 13.91 kB / 1.005 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.9971, allocations: 2.344 kB / 1.005 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.9981, allocations: 0.8904 MB / 1.006 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/0.9984, allocations: 201.2 kB / 1.006 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.9985, allocations: 22.73 kB / 1.006 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/0.999, allocations: 36.64 kB / 1.006 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.9991, allocations: 37.92 kB / 1.006 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.9991, allocations: 20.97 kB / 1.006 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006288/0.9998, allocations: 0.5127 MB / 1.006 GB, free: 9.02 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9998, allocations: 0 / 1.006 GB, free: 9.02 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007897/1.001, allocations: 201.8 kB / 1.007 GB, free: 9 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.0005036/1.001, allocations: 193.7 kB / 1.007 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000911/1.002, allocations: 0.5198 MB / 1.007 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.002, allocations: 0 / 1.007 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000288/1.002, allocations: 213.8 kB / 1.008 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/1.004, allocations: 479.5 kB / 1.008 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/1.007, allocations: 1.995 MB / 1.01 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/1.008, allocations: 1.024 MB / 1.011 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/1.008, allocations: 66.81 kB / 1.011 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/1.008, allocations: 0 / 1.011 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of Templates: time 0.0205/1.029, allocations: 12.88 MB / 1.024 GB, free: 1.094 MB / 0.7481 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)