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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001212/0.001212, allocations: 192 kB / 16.14 MB, free: 6.707 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.198/1.198, allocations: 205.1 MB / 222 MB, free: 4.77 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.561/1.561, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001484/0.001484, allocations: 66.02 kB / 0.6709 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1607, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4577/0.6184, allocations: 185.1 MB / 0.9635 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.6293, allocations: 13.08 MB / 0.9763 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008169/0.6302, allocations: 28.12 kB / 0.9763 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009273/0.6311, allocations: 351.5 kB / 0.9766 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.633, allocations: 1.09 MB / 0.9777 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.6342, allocations: 0.6282 MB / 0.9783 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001884/0.6361, allocations: 2.748 MB / 0.981 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007013/0.6368, allocations: 0.7228 MB / 0.9817 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002598/0.6394, allocations: 1.656 MB / 0.9833 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.6405, allocations: 0.6942 MB / 0.984 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.836e-05/0.6406, allocations: 45.38 kB / 0.984 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.642, allocations: 0.9762 MB / 0.985 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.6423, allocations: 351 kB / 0.9853 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000363/0.6426, allocations: 472.1 kB / 0.9858 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.6438, allocations: 1.481 MB / 0.9872 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6438, allocations: 0 / 0.9872 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6438, allocations: 1.125 kB / 0.9872 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.6439, allocations: 7.938 kB / 0.9872 GB, free: 4.262 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.001499/0.6454, allocations: 1.231 MB / 0.9884 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.6454, allocations: 10.56 kB / 0.9885 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.6455, allocations: 124 kB / 0.9886 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.6465, allocations: 216.6 kB / 0.9888 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007098/0.6472, allocations: 0.6283 MB / 0.9894 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.6473, allocations: 57.41 kB / 0.9894 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.514e-05/0.6474, allocations: 82.55 kB / 0.9895 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009564/0.6483, allocations: 0.9245 MB / 0.9904 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.6484, allocations: 4.906 kB / 0.9904 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.878e-05/0.6484, allocations: 38.56 kB / 0.9905 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.6485, allocations: 34.67 kB / 0.9905 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008232/0.6493, allocations: 0.619 MB / 0.9911 GB, free: 18.88 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.00321/0.6525, allocations: 4.581 MB / 0.9956 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/0.653, allocations: 0.5399 MB / 0.9961 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.6533, allocations: 245.3 kB / 0.9963 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.6535, allocations: 108.2 kB / 0.9964 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.6535, allocations: 50.02 kB / 0.9965 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=43): time 1.433e-06/0.6535, allocations: 0 / 0.9965 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.002061/0.6556, allocations: 1.58 MB / 0.998 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.6556, allocations: 111.3 kB / 0.9981 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005782/0.6562, allocations: 0.7142 MB / 0.9988 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.6563, allocations: 31.98 kB / 0.9989 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.6564, allocations: 416.8 kB / 0.9993 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/0.6565, allocations: 165.4 kB / 0.9994 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.6567, allocations: 120.7 kB / 0.9995 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6568, allocations: 385.5 kB / 0.9999 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.657, allocations: 185.9 kB / 1 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.6573, allocations: 415.5 kB / 1 GB, free: 12.22 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.001729/0.6591, allocations: 1.161 MB / 1.002 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.6591, allocations: 0 / 1.002 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000793/0.6599, allocations: 0.668 MB / 1.002 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.6599, allocations: 15.03 kB / 1.002 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.6599, allocations: 5.156 kB / 1.002 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.6599, allocations: 9.969 kB / 1.002 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.6603, allocations: 125.2 kB / 1.002 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.6603, allocations: 14.31 kB / 1.002 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/0.6609, allocations: 54.38 kB / 1.002 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.6609, allocations: 25.62 kB / 1.003 GB, free: 11.3 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.0002697/0.6612, allocations: 280.5 kB / 1.003 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.6613, allocations: 82.97 kB / 1.003 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.6614, allocations: 92.03 kB / 1.003 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.6615, allocations: 6.781 kB / 1.003 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6615, allocations: 2.094 kB / 1.003 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000584/0.6621, allocations: 0.7037 MB / 1.004 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.664, allocations: 1.637 MB / 1.005 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.664, allocations: 3.406 kB / 1.005 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003981/0.6644, allocations: 102.9 kB / 1.005 GB, free: 9.484 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.6644, allocations: 12.5 kB / 1.005 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.6644, allocations: 13.06 kB / 1.005 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.6645, allocations: 11 kB / 1.005 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.6645, allocations: 4.875 kB / 1.005 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008978/0.6654, allocations: 0.8948 MB / 1.006 GB, free: 8.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.6656, allocations: 210 kB / 1.006 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.293e-05/0.6657, allocations: 19.59 kB / 1.006 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004343/0.6661, allocations: 38.8 kB / 1.007 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.6662, allocations: 43.8 kB / 1.007 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.6662, allocations: 20.38 kB / 1.007 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004721/0.6667, allocations: 0.5075 MB / 1.007 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6667, allocations: 0 / 1.007 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005741/0.6673, allocations: 200 kB / 1.007 GB, free: 8.496 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.00133/0.6686, allocations: 1.517 MB / 1.009 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000579/0.6692, allocations: 478.2 kB / 1.009 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6692, allocations: 4.875 kB / 1.009 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.6695, allocations: 215.2 kB / 1.009 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.6713, allocations: 467.1 kB / 1.01 GB, free: 7.102 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007362/0.6787, allocations: 7.148 MB / 1.017 GB, free: 2.465 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.6791, allocations: 1.023 MB / 1.018 GB, free: 1.613 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005473/0.6797, allocations: 202.9 kB / 1.018 GB, free: 1.52 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/0.68, allocations: 292.4 kB / 1.018 GB, free: 1.285 MB / 0.7481 GB Notification: Performance of SimCode: time 4.01e-07/0.68, allocations: 4 kB / 1.018 GB, free: 1.281 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.192/3.872, allocations: 21.28 MB / 1.039 GB, free: 3.832 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004524/3.872, allocations: 281.4 kB / 1.039 GB, free: 3.449 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.431/7.303, allocations: 4 kB / 1.039 GB, free: 3.445 MB / 0.7637 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)