Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.744/2.744, allocations: 287.5 MB / 302.4 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001405, allocations: 192.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.286/2.286, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000898/0.0008977, allocations: 88.91 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006991/0.0006994, allocations: 12.98 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2541, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.9787/1.233, allocations: 170.3 MB / 1.145 GB, free: 11.82 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02558/1.259, allocations: 12.11 MB / 1.157 GB, free: 5.895 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/1.26, allocations: 23.12 kB / 1.157 GB, free: 5.887 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/1.262, allocations: 293.4 kB / 1.157 GB, free: 5.645 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004574/1.267, allocations: 0.885 MB / 1.158 GB, free: 4.945 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002944/1.27, allocations: 0.5284 MB / 1.158 GB, free: 4.57 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005231/1.275, allocations: 2.323 MB / 1.161 GB, free: 3.211 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/1.277, allocations: 0.6035 MB / 1.161 GB, free: 2.855 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005791/1.283, allocations: 1.358 MB / 1.162 GB, free: 2.008 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/1.285, allocations: 0.6147 MB / 1.163 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003158/1.285, allocations: 38.03 kB / 1.163 GB, free: 1.664 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002757/1.288, allocations: 448.9 kB / 1.164 GB, free: 1.461 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007753/1.289, allocations: 337 kB / 1.164 GB, free: 1.25 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006741/1.29, allocations: 198.8 kB / 1.164 GB, free: 1.141 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002814/1.293, allocations: 1.029 MB / 1.165 GB, free: 476 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/1.293, allocations: 0 / 1.165 GB, free: 476 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.455e-06/1.293, allocations: 1.125 kB / 1.165 GB, free: 476 kB / 0.698 GB Notification: Performance of Transformations before backend: time 3.711e-05/1.293, allocations: 0 / 1.165 GB, free: 476 kB / 0.698 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.003295/1.296, allocations: 1.059 MB / 1.166 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/1.296, allocations: 8.938 kB / 1.166 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004122/1.296, allocations: 126.5 kB / 1.166 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/1.299, allocations: 213 kB / 1.166 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/1.301, allocations: 0.6116 MB / 1.167 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.831e-05/1.301, allocations: 62.27 kB / 1.167 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/1.301, allocations: 80.02 kB / 1.167 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/1.304, allocations: 0.9274 MB / 1.168 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/1.304, allocations: 2.656 kB / 1.168 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/1.304, allocations: 40.03 kB / 1.168 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.409e-05/1.304, allocations: 28.16 kB / 1.168 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/1.306, allocations: 0.6134 MB / 1.169 GB, free: 13.86 MB / 0.7136 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.007943/1.314, allocations: 4.579 MB / 1.173 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/1.315, allocations: 0.5395 MB / 1.174 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000612/1.316, allocations: 252.8 kB / 1.174 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002878/1.316, allocations: 98.06 kB / 1.174 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/1.316, allocations: 37.94 kB / 1.174 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 3.347e-06/1.316, allocations: 0 / 1.174 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.005186/1.321, allocations: 1.573 MB / 1.176 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.088e-05/1.322, allocations: 112.2 kB / 1.176 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/1.323, allocations: 0.703 MB / 1.176 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/1.323, allocations: 36.64 kB / 1.176 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004547/1.324, allocations: 413.1 kB / 1.177 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/1.324, allocations: 171.3 kB / 1.177 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/1.324, allocations: 10.94 kB / 1.177 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002216/1.324, allocations: 389.1 kB / 1.177 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004884/1.325, allocations: 183.1 kB / 1.178 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007438/1.326, allocations: 407.1 kB / 1.178 GB, free: 6.047 MB / 0.7136 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.002756/1.328, allocations: 0.6573 MB / 1.179 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.328, allocations: 2.406 kB / 1.179 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001777/1.33, allocations: 0.6679 MB / 1.179 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/1.33, allocations: 14.25 kB / 1.179 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/1.33, allocations: 5.453 kB / 1.179 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.103e-05/1.33, allocations: 15.72 kB / 1.179 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009539/1.331, allocations: 126.5 kB / 1.179 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.69e-05/1.331, allocations: 15.83 kB / 1.179 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/1.333, allocations: 52.48 kB / 1.179 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.43e-05/1.333, allocations: 29.8 kB / 1.18 GB, free: 5.242 MB / 0.7136 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.0007305/1.334, allocations: 279.7 kB / 1.18 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002915/1.334, allocations: 77.06 kB / 1.18 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/1.334, allocations: 91.56 kB / 1.18 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/1.334, allocations: 2.906 kB / 1.18 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/1.334, allocations: 2.719 kB / 1.18 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00113/1.335, allocations: 0.7035 MB / 1.181 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004293/1.34, allocations: 1.638 MB / 1.182 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/1.34, allocations: 2.469 kB / 1.182 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009193/1.341, allocations: 104.1 kB / 1.182 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.434e-05/1.341, allocations: 9.031 kB / 1.182 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-05/1.341, allocations: 17.22 kB / 1.182 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-05/1.341, allocations: 8.5 kB / 1.182 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.341, allocations: 5.812 kB / 1.182 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/1.343, allocations: 0.8952 MB / 1.183 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000717/1.344, allocations: 204.1 kB / 1.183 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/1.344, allocations: 13.34 kB / 1.183 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000936/1.345, allocations: 39.19 kB / 1.184 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.676e-05/1.345, allocations: 40.44 kB / 1.184 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/1.345, allocations: 19.97 kB / 1.184 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00105/1.346, allocations: 0.5011 MB / 1.184 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.51e-07/1.346, allocations: 4 kB / 1.184 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001358/1.347, allocations: 204.4 kB / 1.184 GB, free: 1.855 MB / 0.7136 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.002746/1.35, allocations: 1.517 MB / 1.186 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001374/1.352, allocations: 469.1 kB / 1.186 GB, free: 468 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/1.352, allocations: 3.188 kB / 1.186 GB, free: 468 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005006/1.352, allocations: 213.4 kB / 1.186 GB, free: 368 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004256/1.356, allocations: 458.8 kB / 1.187 GB, free: 136 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/1.369, allocations: 4.971 MB / 1.192 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008466/1.37, allocations: 1.026 MB / 1.193 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001303/1.371, allocations: 195.3 kB / 1.193 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006361/1.372, allocations: 291.4 kB / 1.193 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of SimCode: time 1.603e-06/1.372, allocations: 4 kB / 1.193 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07045/1.442, allocations: 21.56 MB / 1.214 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004504/1.443, allocations: 266.9 kB / 1.214 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.585/5.027, allocations: 0 / 1.214 GB, free: 9.281 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)