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.786/1.786, allocations: 288.4 MB / 303.3 MB, free: 8.219 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.00179/0.00179, allocations: 172.5 kB / 372 MB, free: 10.25 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.807/1.807, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.0007942/0.0007945, allocations: 86.92 kB / 0.744 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004156, allocations: 12.03 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.265, allocations: 115.3 MB / 0.9796 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.8949/1.16, allocations: 173.1 MB / 1.149 GB, free: 10.74 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01081/1.171, allocations: 5.3 MB / 1.154 GB, free: 8.09 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001907/1.173, allocations: 28.38 kB / 1.154 GB, free: 8.078 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001803/1.175, allocations: 404 kB / 1.154 GB, free: 7.742 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.005303/1.18, allocations: 1.189 MB / 1.155 GB, free: 6.812 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004112/1.184, allocations: 0.8815 MB / 1.156 GB, free: 6.199 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00601/1.19, allocations: 2.926 MB / 1.159 GB, free: 4.492 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/1.192, allocations: 0.7005 MB / 1.16 GB, free: 4.082 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002931/1.195, allocations: 0.8361 MB / 1.161 GB, free: 3.641 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002238/1.197, allocations: 0.7679 MB / 1.161 GB, free: 3.227 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001912/1.197, allocations: 40.94 kB / 1.161 GB, free: 3.227 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003557/1.201, allocations: 0.9012 MB / 1.162 GB, free: 2.762 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007043/1.202, allocations: 427.2 kB / 1.163 GB, free: 2.5 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006421/1.202, allocations: 244.5 kB / 1.163 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002862/1.205, allocations: 1.474 MB / 1.164 GB, free: 1.438 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.809e-06/1.205, allocations: 1.281 kB / 1.164 GB, free: 1.438 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.755e-06/1.205, allocations: 0 / 1.164 GB, free: 1.438 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.801e-05/1.205, allocations: 4 kB / 1.164 GB, free: 1.434 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.003219/1.208, allocations: 1.264 MB / 1.166 GB, free: 460 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.356e-05/1.209, allocations: 12.8 kB / 1.166 GB, free: 456 kB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000253/1.209, allocations: 136.9 kB / 1.166 GB, free: 344 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002238/1.211, allocations: 340.1 kB / 1.166 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/1.213, allocations: 0.7334 MB / 1.167 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004361/1.213, allocations: 136 kB / 1.167 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/1.214, allocations: 88.78 kB / 1.167 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/1.216, allocations: 1.062 MB / 1.168 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/1.216, allocations: 5.312 kB / 1.168 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/1.216, allocations: 49.55 kB / 1.168 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.58e-05/1.216, allocations: 36.23 kB / 1.168 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/1.218, allocations: 0.8362 MB / 1.169 GB, free: 14.45 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.007244/1.226, allocations: 4.053 MB / 1.173 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006348/1.226, allocations: 379.9 kB / 1.173 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/1.227, allocations: 219.9 kB / 1.174 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/1.227, allocations: 99.08 kB / 1.174 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/1.227, allocations: 43.5 kB / 1.174 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 4.228e-06/1.227, allocations: 0 / 1.174 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=38): time 0.002946/1.23, allocations: 1.321 MB / 1.175 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/1.23, allocations: 57.66 kB / 1.175 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/1.231, allocations: 0.978 MB / 1.176 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.72e-05/1.231, allocations: 36.64 kB / 1.176 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/1.232, allocations: 491.3 kB / 1.176 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/1.232, allocations: 135.1 kB / 1.177 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/1.232, allocations: 14.44 kB / 1.177 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.232, allocations: 331.2 kB / 1.177 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/1.233, allocations: 236.3 kB / 1.177 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005866/1.233, allocations: 425.9 kB / 1.178 GB, free: 7.793 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.001901/1.235, allocations: 0.726 MB / 1.178 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/1.235, allocations: 2.875 kB / 1.178 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001489/1.237, allocations: 0.7559 MB / 1.179 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/1.237, allocations: 9.094 kB / 1.179 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.237, allocations: 5.828 kB / 1.179 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/1.237, allocations: 12.27 kB / 1.179 GB, free: 7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005627/1.237, allocations: 141.4 kB / 1.179 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/1.237, allocations: 12.05 kB / 1.179 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/1.238, allocations: 95.89 kB / 1.179 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/1.239, allocations: 27.34 kB / 1.179 GB, free: 6.914 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.0005834/1.239, allocations: 318.8 kB / 1.18 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/1.239, allocations: 95.62 kB / 1.18 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/1.239, allocations: 110.3 kB / 1.18 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/1.239, allocations: 2.812 kB / 1.18 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/1.239, allocations: 1.75 kB / 1.18 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007309/1.24, allocations: 0.6698 MB / 1.18 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/1.243, allocations: 1.578 MB / 1.182 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.243, allocations: 3 kB / 1.182 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003949/1.243, allocations: 89.05 kB / 1.182 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/1.243, allocations: 4.875 kB / 1.182 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/1.243, allocations: 20.06 kB / 1.182 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/1.243, allocations: 9.75 kB / 1.182 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.243, allocations: 2.969 kB / 1.182 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/1.244, allocations: 0.8567 MB / 1.183 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005195/1.245, allocations: 239.7 kB / 1.183 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/1.245, allocations: 12.22 kB / 1.183 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007538/1.246, allocations: 63.11 kB / 1.183 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/1.246, allocations: 41.14 kB / 1.183 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.168e-05/1.246, allocations: 27.3 kB / 1.183 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001126/1.247, allocations: 0.6931 MB / 1.184 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.247, allocations: 0 / 1.184 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009543/1.248, allocations: 258.6 kB / 1.184 GB, free: 3.469 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.001901/1.25, allocations: 1.48 MB / 1.186 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001072/1.251, allocations: 495.1 kB / 1.186 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.251, allocations: 2.438 kB / 1.186 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002672/1.251, allocations: 188.7 kB / 1.186 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/1.254, allocations: 0.5958 MB / 1.187 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/1.265, allocations: 5.804 MB / 1.193 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000841/1.266, allocations: 1.093 MB / 1.194 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001328/1.267, allocations: 237.3 kB / 1.194 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004725/1.268, allocations: 343 kB / 1.194 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of SimCode: time 1.242e-06/1.268, allocations: 4 kB / 1.194 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05491/1.323, allocations: 27.16 MB / 1.221 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/1.323, allocations: 246.9 kB / 1.221 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/4.38, allocations: 0 / 1.221 GB, free: 2.605 MB / 0.7448 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)