Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.0008805/0.0008804, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00098/0.0009801, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.597/2.597, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003766, allocations: 12 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7926/0.793, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2053/0.9984, allocations: 173.2 MB / 1.15 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01087/1.009, allocations: 5.369 MB / 1.155 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/1.011, allocations: 35.75 kB / 1.156 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/1.012, allocations: 393.5 kB / 1.156 GB, free: 2.832 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004485/1.017, allocations: 1.201 MB / 1.157 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003352/1.02, allocations: 0.8917 MB / 1.158 GB, free: 0.7422 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004611/1.025, allocations: 2.929 MB / 1.161 GB, free: 13.81 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/1.026, allocations: 0.6997 MB / 1.161 GB, free: 13.09 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/1.029, allocations: 0.8518 MB / 1.162 GB, free: 12.24 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001679/1.03, allocations: 0.7783 MB / 1.163 GB, free: 11.46 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001516/1.03, allocations: 40 kB / 1.163 GB, free: 11.42 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/1.033, allocations: 0.9003 MB / 1.164 GB, free: 10.52 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005328/1.034, allocations: 430.8 kB / 1.164 GB, free: 10.09 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004006/1.034, allocations: 249.1 kB / 1.165 GB, free: 9.844 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002111/1.036, allocations: 1.481 MB / 1.166 GB, free: 8.359 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/1.036, allocations: 0 / 1.166 GB, free: 8.359 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.245e-06/1.036, allocations: 4 kB / 1.166 GB, free: 8.355 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.915e-05/1.036, allocations: 0 / 1.166 GB, free: 8.355 MB / 0.92 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.002261/1.038, allocations: 1.248 MB / 1.167 GB, free: 7.055 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/1.039, allocations: 12.03 kB / 1.167 GB, free: 7.043 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001883/1.039, allocations: 139.2 kB / 1.167 GB, free: 6.898 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/1.041, allocations: 346.3 kB / 1.168 GB, free: 6.559 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/1.042, allocations: 0.7535 MB / 1.169 GB, free: 5.766 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003095/1.042, allocations: 129.9 kB / 1.169 GB, free: 5.637 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/1.042, allocations: 87.95 kB / 1.169 GB, free: 5.551 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/1.044, allocations: 1.07 MB / 1.17 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/1.044, allocations: 0 / 1.17 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.33e-05/1.044, allocations: 40 kB / 1.17 GB, free: 4.414 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-05/1.044, allocations: 34 kB / 1.17 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/1.046, allocations: 0.8392 MB / 1.171 GB, free: 3.543 MB / 0.92 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.005843/1.052, allocations: 4.07 MB / 1.175 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005989/1.052, allocations: 361.5 kB / 1.175 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/1.053, allocations: 213.3 kB / 1.175 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/1.053, allocations: 105 kB / 1.175 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/1.053, allocations: 38.56 kB / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=36): time 2.414e-06/1.053, allocations: 0 / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=38): time 0.002633/1.055, allocations: 1.327 MB / 1.177 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/1.055, allocations: 55.41 kB / 1.177 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/1.057, allocations: 0.9921 MB / 1.178 GB, free: 12 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/1.057, allocations: 33.7 kB / 1.178 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000366/1.057, allocations: 0.4914 MB / 1.178 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/1.057, allocations: 138 kB / 1.178 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/1.057, allocations: 15.94 kB / 1.178 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.058, allocations: 326 kB / 1.179 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/1.058, allocations: 245.1 kB / 1.179 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006097/1.059, allocations: 405.2 kB / 1.179 GB, free: 10.29 MB / 0.9356 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.001862/1.061, allocations: 0.7388 MB / 1.18 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.061, allocations: 0 / 1.18 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001428/1.062, allocations: 0.7536 MB / 1.181 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/1.062, allocations: 11.95 kB / 1.181 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.062, allocations: 4 kB / 1.181 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/1.062, allocations: 8 kB / 1.181 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/1.063, allocations: 148 kB / 1.181 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/1.063, allocations: 8 kB / 1.181 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009775/1.064, allocations: 95.83 kB / 1.181 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/1.064, allocations: 31.94 kB / 1.181 GB, free: 8.469 MB / 0.9356 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.0005869/1.064, allocations: 311.1 kB / 1.181 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/1.064, allocations: 102.8 kB / 1.181 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/1.065, allocations: 105 kB / 1.181 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.065, allocations: 8 kB / 1.181 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/1.065, allocations: 0 / 1.181 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007107/1.066, allocations: 0.6713 MB / 1.182 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002545/1.068, allocations: 1.59 MB / 1.184 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/1.068, allocations: 4 kB / 1.184 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/1.068, allocations: 87.89 kB / 1.184 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-06/1.068, allocations: 4 kB / 1.184 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/1.069, allocations: 12 kB / 1.184 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.467e-06/1.069, allocations: 11.94 kB / 1.184 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.069, allocations: 8.031 kB / 1.184 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/1.07, allocations: 0.8296 MB / 1.185 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004026/1.07, allocations: 231.9 kB / 1.185 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/1.07, allocations: 12 kB / 1.185 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006695/1.071, allocations: 59.86 kB / 1.185 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/1.071, allocations: 43.8 kB / 1.185 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.134e-05/1.071, allocations: 27.98 kB / 1.185 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001256/1.072, allocations: 0.7034 MB / 1.186 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.8e-07/1.072, allocations: 0 / 1.186 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001079/1.073, allocations: 256 kB / 1.186 GB, free: 3.121 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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.002041/1.075, allocations: 1.476 MB / 1.187 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001044/1.076, allocations: 496.6 kB / 1.188 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/1.076, allocations: 4 kB / 1.188 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003135/1.077, allocations: 187.7 kB / 1.188 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/1.079, allocations: 0.5923 MB / 1.189 GB, free: 332 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/1.09, allocations: 5.851 MB / 1.194 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008808/1.091, allocations: 1.099 MB / 1.195 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001133/1.092, allocations: 244.4 kB / 1.196 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005513/1.092, allocations: 347.3 kB / 1.196 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of SimCode: time 8.42e-07/1.092, allocations: 0 / 1.196 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05868/1.151, allocations: 27.17 MB / 1.222 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004285/1.152, allocations: 252.7 kB / 1.223 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.544, allocations: 0 / 1.223 GB, free: 13.41 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat does not exist to compare? outputFormat=mat