Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.569/1.569, allocations: 287.4 MB / 302.6 MB, free: 8.281 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.0008931/0.0008932, allocations: 177.3 kB / 371.1 MB, free: 10.84 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.194/1.194, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007668/0.0007667, allocations: 94.44 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003786, allocations: 11.5 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1553, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5008/0.6561, allocations: 173.1 MB / 1.148 GB, free: 10.82 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007421/0.6635, allocations: 5.306 MB / 1.153 GB, free: 8.691 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009416/0.6645, allocations: 32.28 kB / 1.153 GB, free: 8.676 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.6656, allocations: 388.9 kB / 1.153 GB, free: 8.465 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.003119/0.6687, allocations: 1.2 MB / 1.155 GB, free: 7.73 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.6713, allocations: 0.8897 MB / 1.155 GB, free: 7.109 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003213/0.6745, allocations: 2.935 MB / 1.158 GB, free: 5.398 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.6756, allocations: 0.8125 MB / 1.159 GB, free: 4.93 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.6771, allocations: 0.8403 MB / 1.16 GB, free: 4.484 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009884/0.6781, allocations: 0.7717 MB / 1.161 GB, free: 4.066 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.6783, allocations: 40.38 kB / 1.161 GB, free: 4.066 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002033/0.6803, allocations: 0.8971 MB / 1.162 GB, free: 3.605 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004029/0.6807, allocations: 427.3 kB / 1.162 GB, free: 3.344 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002592/0.681, allocations: 253.1 kB / 1.162 GB, free: 3.207 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.6824, allocations: 1.478 MB / 1.164 GB, free: 2.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6824, allocations: 0 / 1.164 GB, free: 2.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6825, allocations: 0 / 1.164 GB, free: 2.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.6825, allocations: 1.312 kB / 1.164 GB, free: 2.27 MB / 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.001836/0.6843, allocations: 1.238 MB / 1.165 GB, free: 1.301 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.6844, allocations: 8.375 kB / 1.165 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001669/0.6845, allocations: 137.8 kB / 1.165 GB, free: 1.191 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.6862, allocations: 350.9 kB / 1.165 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.6873, allocations: 0.7727 MB / 1.166 GB, free: 444 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003379/0.6876, allocations: 132.3 kB / 1.166 GB, free: 388 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.6877, allocations: 84.41 kB / 1.166 GB, free: 360 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.6894, allocations: 1.066 MB / 1.167 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.6894, allocations: 1.188 kB / 1.167 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.44e-05/0.6895, allocations: 38.16 kB / 1.167 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-05/0.6896, allocations: 36.36 kB / 1.167 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.691, allocations: 0.8404 MB / 1.168 GB, free: 15.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.004825/0.6959, allocations: 4.052 MB / 1.172 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005882/0.6965, allocations: 387.2 kB / 1.173 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.6967, allocations: 208.3 kB / 1.173 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/0.6969, allocations: 101.1 kB / 1.173 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.697, allocations: 45.45 kB / 1.173 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 1.854e-06/0.697, allocations: 0 / 1.173 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=38): time 0.002103/0.6991, allocations: 1.321 MB / 1.174 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.6991, allocations: 60.31 kB / 1.174 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.7003, allocations: 0.9862 MB / 1.175 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.7003, allocations: 32.33 kB / 1.175 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.7006, allocations: 0.4915 MB / 1.176 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.929e-05/0.7007, allocations: 139.2 kB / 1.176 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.7008, allocations: 10.94 kB / 1.176 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.7009, allocations: 329.9 kB / 1.176 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/0.7013, allocations: 240.3 kB / 1.176 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005277/0.7019, allocations: 414.7 kB / 1.177 GB, free: 8.605 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.002119/0.704, allocations: 1.187 MB / 1.178 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.704, allocations: 3.062 kB / 1.178 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001178/0.7052, allocations: 0.7616 MB / 1.179 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.7052, allocations: 11.91 kB / 1.179 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.7052, allocations: 6.219 kB / 1.179 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.7053, allocations: 7.562 kB / 1.179 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/0.7058, allocations: 141.6 kB / 1.179 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.7058, allocations: 11.84 kB / 1.179 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008528/0.7066, allocations: 91.77 kB / 1.179 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.7067, allocations: 27.28 kB / 1.179 GB, free: 7.363 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.0003852/0.7071, allocations: 314.4 kB / 1.179 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.7072, allocations: 100.1 kB / 1.179 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.7074, allocations: 97.58 kB / 1.179 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.7074, allocations: 5.125 kB / 1.179 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.7074, allocations: 0 / 1.179 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005774/0.708, allocations: 0.6738 MB / 1.18 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.7102, allocations: 1.58 MB / 1.182 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.7102, allocations: 5.156 kB / 1.182 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003584/0.7105, allocations: 88.61 kB / 1.182 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.7106, allocations: 5.25 kB / 1.182 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.7106, allocations: 15.47 kB / 1.182 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.7106, allocations: 15.84 kB / 1.182 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.7106, allocations: 2.875 kB / 1.182 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009157/0.7115, allocations: 0.841 MB / 1.183 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.7119, allocations: 238.3 kB / 1.183 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.712, allocations: 18.14 kB / 1.183 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006484/0.7126, allocations: 69.5 kB / 1.183 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.7127, allocations: 36.56 kB / 1.183 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.995e-05/0.7128, allocations: 35.95 kB / 1.183 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008756/0.7136, allocations: 0.6899 MB / 1.184 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7136, allocations: 4 kB / 1.184 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007189/0.7144, allocations: 256.8 kB / 1.184 GB, free: 3.922 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.001375/0.7158, allocations: 1.483 MB / 1.185 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008054/0.7166, allocations: 489.9 kB / 1.186 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7166, allocations: 3.938 kB / 1.186 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.7168, allocations: 186.8 kB / 1.186 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/0.7196, allocations: 0.603 MB / 1.187 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00755/0.7272, allocations: 5.803 MB / 1.192 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005659/0.7278, allocations: 1.098 MB / 1.193 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0008308/0.7286, allocations: 237.2 kB / 1.194 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/0.729, allocations: 342.3 kB / 1.194 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.729, allocations: 3.938 kB / 1.194 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9645/1.694, allocations: 27.72 MB / 1.221 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/1.694, allocations: 252 kB / 1.221 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.627/4.321, allocations: 0 / 1.221 GB, free: 2.535 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)