Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 187.4 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.932/1.932, allocations: 205.4 MB / 0.5776 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008179/0.0008179, allocations: 87.81 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003386, allocations: 12.09 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2649, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.8169/1.082, allocations: 173.4 MB / 1.07 GB, free: 4.266 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01026/1.092, allocations: 5.455 MB / 1.075 GB, free: 4.141 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/1.094, allocations: 31.22 kB / 1.075 GB, free: 4.141 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001514/1.095, allocations: 404.4 kB / 1.075 GB, free: 4.133 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.004404/1.1, allocations: 1.299 MB / 1.077 GB, free: 4.07 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00343/1.103, allocations: 0.9026 MB / 1.078 GB, free: 4.031 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005391/1.109, allocations: 3.106 MB / 1.081 GB, free: 4.023 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/1.11, allocations: 0.7338 MB / 1.081 GB, free: 3.922 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/1.113, allocations: 0.8496 MB / 1.082 GB, free: 3.922 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/1.115, allocations: 0.8241 MB / 1.083 GB, free: 3.914 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001978/1.115, allocations: 41.12 kB / 1.083 GB, free: 3.914 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003011/1.118, allocations: 0.8966 MB / 1.084 GB, free: 3.898 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006879/1.119, allocations: 452.4 kB / 1.084 GB, free: 3.898 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008838/1.119, allocations: 256.4 kB / 1.085 GB, free: 19.87 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002473/1.122, allocations: 1.527 MB / 1.086 GB, free: 19.75 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.122, allocations: 4 kB / 1.086 GB, free: 19.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.906e-06/1.122, allocations: 0 / 1.086 GB, free: 19.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.181e-05/1.122, allocations: 1.094 kB / 1.086 GB, free: 19.75 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002628/1.125, allocations: 1.278 MB / 1.087 GB, free: 18.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/1.125, allocations: 8.969 kB / 1.087 GB, free: 18.98 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002199/1.125, allocations: 145 kB / 1.087 GB, free: 18.94 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/1.127, allocations: 336.4 kB / 1.088 GB, free: 18.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/1.128, allocations: 0.752 MB / 1.088 GB, free: 18.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004256/1.129, allocations: 133.7 kB / 1.089 GB, free: 18.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/1.129, allocations: 88.16 kB / 1.089 GB, free: 18.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/1.131, allocations: 1.093 MB / 1.09 GB, free: 18.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/1.131, allocations: 1.469 kB / 1.09 GB, free: 18.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/1.131, allocations: 41.28 kB / 1.09 GB, free: 18.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.395e-05/1.132, allocations: 31.97 kB / 1.09 GB, free: 18.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/1.133, allocations: 0.8431 MB / 1.091 GB, free: 18.41 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.005826/1.139, allocations: 4.079 MB / 1.095 GB, free: 16.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/1.14, allocations: 379.2 kB / 1.095 GB, free: 16.37 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/1.14, allocations: 212.9 kB / 1.095 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/1.14, allocations: 95.33 kB / 1.095 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/1.14, allocations: 40.19 kB / 1.095 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 2.615e-06/1.14, allocations: 0 / 1.095 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=38): time 0.002639/1.143, allocations: 1.313 MB / 1.097 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/1.143, allocations: 57.16 kB / 1.097 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/1.144, allocations: 1.005 MB / 1.098 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.995e-05/1.144, allocations: 37.86 kB / 1.098 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003901/1.145, allocations: 0.4921 MB / 1.098 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/1.145, allocations: 137.1 kB / 1.098 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/1.145, allocations: 12 kB / 1.098 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.145, allocations: 335.6 kB / 1.099 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004704/1.146, allocations: 227.3 kB / 1.099 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005617/1.146, allocations: 424.5 kB / 1.099 GB, free: 14.7 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.001686/1.148, allocations: 0.7058 MB / 1.1 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.148, allocations: 3.953 kB / 1.1 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001254/1.149, allocations: 0.7519 MB / 1.101 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/1.149, allocations: 8.375 kB / 1.101 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/1.149, allocations: 2.969 kB / 1.101 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/1.149, allocations: 11.66 kB / 1.101 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005384/1.15, allocations: 142 kB / 1.101 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/1.15, allocations: 11.25 kB / 1.101 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/1.151, allocations: 94.84 kB / 1.101 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/1.151, allocations: 28.19 kB / 1.101 GB, free: 14.46 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: 24 * 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.0004932/1.151, allocations: 318.9 kB / 1.101 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/1.152, allocations: 104.9 kB / 1.101 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/1.152, allocations: 107 kB / 1.101 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/1.152, allocations: 6.625 kB / 1.101 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/1.152, allocations: 0 / 1.101 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006505/1.152, allocations: 0.6638 MB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/1.155, allocations: 1.596 MB / 1.104 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.155, allocations: 2.938 kB / 1.104 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003767/1.155, allocations: 93.53 kB / 1.104 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/1.155, allocations: 9.078 kB / 1.104 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/1.155, allocations: 12.62 kB / 1.104 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.138e-06/1.155, allocations: 8 kB / 1.104 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.155, allocations: 2.938 kB / 1.104 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009542/1.156, allocations: 0.847 MB / 1.105 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004513/1.157, allocations: 251.6 kB / 1.105 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/1.157, allocations: 15.98 kB / 1.105 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007743/1.158, allocations: 76.17 kB / 1.105 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/1.158, allocations: 34.78 kB / 1.105 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-05/1.158, allocations: 27.36 kB / 1.105 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001128/1.159, allocations: 0.7128 MB / 1.106 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.21e-07/1.159, allocations: 0 / 1.106 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001043/1.16, allocations: 252.8 kB / 1.106 GB, free: 12.76 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.002218/1.162, allocations: 1.491 MB / 1.107 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001136/1.163, allocations: 489.1 kB / 1.108 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.163, allocations: 2.562 kB / 1.108 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002687/1.164, allocations: 187.3 kB / 1.108 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003177/1.167, allocations: 0.6021 MB / 1.109 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009973/1.177, allocations: 5.879 MB / 1.114 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007867/1.178, allocations: 1.108 MB / 1.115 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001227/1.179, allocations: 233.9 kB / 1.116 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004209/1.179, allocations: 347.1 kB / 1.116 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of SimCode: time 1.493e-06/1.179, allocations: 0 / 1.116 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05989/1.239, allocations: 27.54 MB / 1.143 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002832/1.239, allocations: 255 kB / 1.143 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/4.197, allocations: 0 / 1.143 GB, free: 12.83 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)