Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.585/1.585, allocations: 288.4 MB / 303.6 MB, free: 8 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.001043/0.001043, allocations: 187 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.4 MB / 0.631 GB, free: 9.91 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.0007665/0.0007666, allocations: 106.2 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004107, allocations: 16.56 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1979, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.543/0.7409, allocations: 173.1 MB / 1.149 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0073/0.7483, allocations: 5.324 MB / 1.154 GB, free: 7.914 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007226/0.749, allocations: 33.25 kB / 1.154 GB, free: 7.898 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.7501, allocations: 445.8 kB / 1.155 GB, free: 7.551 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002908/0.753, allocations: 1.406 MB / 1.156 GB, free: 6.477 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002382/0.7554, allocations: 0.9429 MB / 1.157 GB, free: 5.824 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002865/0.7583, allocations: 2.924 MB / 1.16 GB, free: 4.121 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009895/0.7593, allocations: 0.8239 MB / 1.161 GB, free: 3.641 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.7608, allocations: 0.8555 MB / 1.162 GB, free: 3.184 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.7621, allocations: 0.7687 MB / 1.162 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.7622, allocations: 40.03 kB / 1.162 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002767/0.765, allocations: 1.664 MB / 1.164 GB, free: 1.844 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000427/0.7655, allocations: 426.4 kB / 1.165 GB, free: 1.582 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005746/0.766, allocations: 0.552 MB / 1.165 GB, free: 1.242 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.7677, allocations: 1.551 MB / 1.167 GB, free: 280 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.7677, allocations: 0 / 1.167 GB, free: 280 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7677, allocations: 0 / 1.167 GB, free: 280 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.7677, allocations: 1.5 kB / 1.167 GB, free: 280 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001842/0.7696, allocations: 1.245 MB / 1.168 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.7696, allocations: 9.594 kB / 1.168 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.7698, allocations: 140 kB / 1.168 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.7715, allocations: 344.2 kB / 1.168 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.7727, allocations: 0.7687 MB / 1.169 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003473/0.773, allocations: 131 kB / 1.169 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.7732, allocations: 88.38 kB / 1.169 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.7749, allocations: 1.059 MB / 1.17 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.7749, allocations: 5.344 kB / 1.17 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-05/0.775, allocations: 41.05 kB / 1.17 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-05/0.7751, allocations: 36.27 kB / 1.17 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.7768, allocations: 0.8369 MB / 1.171 GB, free: 13.27 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.004853/0.7817, allocations: 4.057 MB / 1.175 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005007/0.7822, allocations: 382.8 kB / 1.175 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.7825, allocations: 211.2 kB / 1.176 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.7826, allocations: 101.8 kB / 1.176 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.7827, allocations: 45.36 kB / 1.176 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 2.023e-06/0.7827, allocations: 0 / 1.176 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=38): time 0.002238/0.7849, allocations: 1.322 MB / 1.177 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.785, allocations: 61.12 kB / 1.177 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.7861, allocations: 0.9819 MB / 1.178 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/0.7862, allocations: 32.45 kB / 1.178 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.7865, allocations: 500 kB / 1.179 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.7866, allocations: 134 kB / 1.179 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.7867, allocations: 10.69 kB / 1.179 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.7868, allocations: 328 kB / 1.179 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/0.7872, allocations: 240.3 kB / 1.179 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005174/0.7877, allocations: 421.5 kB / 1.18 GB, free: 6.609 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/0.7899, allocations: 1.184 MB / 1.181 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7899, allocations: 2.938 kB / 1.181 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001205/0.7911, allocations: 0.7469 MB / 1.182 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.7912, allocations: 11.78 kB / 1.182 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.7912, allocations: 5.938 kB / 1.182 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.7912, allocations: 7.938 kB / 1.182 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.7917, allocations: 143.6 kB / 1.182 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.7917, allocations: 11.97 kB / 1.182 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009013/0.7927, allocations: 99.77 kB / 1.182 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.7927, allocations: 25.78 kB / 1.182 GB, free: 5.379 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0003923/0.7931, allocations: 309.1 kB / 1.182 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.7932, allocations: 100.1 kB / 1.182 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.7934, allocations: 101.4 kB / 1.182 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.7934, allocations: 5.906 kB / 1.182 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.7934, allocations: 0 / 1.182 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000581/0.794, allocations: 0.6846 MB / 1.183 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.7961, allocations: 1.58 MB / 1.185 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.7961, allocations: 4.812 kB / 1.185 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/0.7965, allocations: 92.89 kB / 1.185 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.7965, allocations: 5.531 kB / 1.185 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.7965, allocations: 25.16 kB / 1.185 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.7965, allocations: 4.562 kB / 1.185 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.7965, allocations: 6.906 kB / 1.185 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009192/0.7974, allocations: 0.8409 MB / 1.186 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.7978, allocations: 240.2 kB / 1.186 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.7979, allocations: 15.8 kB / 1.186 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006805/0.7986, allocations: 58.09 kB / 1.186 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.7986, allocations: 45.77 kB / 1.186 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.957e-05/0.7987, allocations: 27.95 kB / 1.186 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008705/0.7996, allocations: 0.6918 MB / 1.187 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7996, allocations: 2.812 kB / 1.187 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007215/0.8003, allocations: 253.8 kB / 1.187 GB, free: 1.934 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.001423/0.8017, allocations: 1.496 MB / 1.188 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008145/0.8026, allocations: 486.5 kB / 1.189 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.8026, allocations: 2.938 kB / 1.189 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.8028, allocations: 190.6 kB / 1.189 GB, free: 464 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/0.8057, allocations: 0.6033 MB / 1.19 GB, free: 168 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00747/0.8132, allocations: 5.804 MB / 1.195 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.8138, allocations: 1.096 MB / 1.196 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0007848/0.8146, allocations: 234.3 kB / 1.197 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004142/0.815, allocations: 342.4 kB / 1.197 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of SimCode: time 3.2e-07/0.815, allocations: 0 / 1.197 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8116/1.627, allocations: 28.05 MB / 1.224 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002722/1.627, allocations: 247.9 kB / 1.224 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.89/4.517, allocations: 0 / 1.224 GB, free: 15.36 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)