Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001355/0.001355, allocations: 180.8 kB / 366.7 MB, free: 1.688 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.822/1.822, allocations: 205.3 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009648/0.0009651, allocations: 84.88 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.82e-05/2.826e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.803/0.8031, allocations: 116.3 MB / 0.9733 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.989/5.792, allocations: 2.075 GB / 3.048 GB, free: 8.809 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/5.793, allocations: 87.42 kB / 3.048 GB, free: 8.766 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.587/8.379, allocations: 0.5579 GB / 3.606 GB, free: 191.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.766e-06/8.379, allocations: 4 kB / 3.606 GB, free: 191.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.938e-05/8.379, allocations: 31.69 kB / 3.606 GB, free: 191.4 MB / 0.948 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.0026/8.382, allocations: 1.25 MB / 3.607 GB, free: 190.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/8.382, allocations: 8.031 kB / 3.607 GB, free: 190.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/8.384, allocations: 318.4 kB / 3.608 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/8.385, allocations: 0.7762 MB / 3.608 GB, free: 189 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003214/8.385, allocations: 101.9 kB / 3.608 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/8.386, allocations: 51.95 kB / 3.608 GB, free: 188.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001178/8.387, allocations: 0.6872 MB / 3.609 GB, free: 188.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/8.388, allocations: 0.8629 MB / 3.61 GB, free: 187.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/8.388, allocations: 4 kB / 3.61 GB, free: 187.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-05/8.388, allocations: 11.83 kB / 3.61 GB, free: 187.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/8.388, allocations: 30 kB / 3.61 GB, free: 187.2 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.004774/8.393, allocations: 3.801 MB / 3.614 GB, free: 183.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/8.394, allocations: 355.1 kB / 3.614 GB, free: 182.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/8.394, allocations: 189.6 kB / 3.614 GB, free: 182.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/8.394, allocations: 101 kB / 3.614 GB, free: 182.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/8.394, allocations: 38.56 kB / 3.614 GB, free: 182.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.166e-06/8.394, allocations: 4 kB / 3.614 GB, free: 182.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=38): time 0.002252/8.396, allocations: 1.088 MB / 3.615 GB, free: 181.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/8.396, allocations: 55.41 kB / 3.615 GB, free: 181.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006682/8.397, allocations: 0.5544 MB / 3.616 GB, free: 180.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/8.397, allocations: 29.7 kB / 3.616 GB, free: 180.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/8.397, allocations: 0.4905 MB / 3.617 GB, free: 180.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.588e-05/8.397, allocations: 142 kB / 3.617 GB, free: 180 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/8.397, allocations: 0 / 3.617 GB, free: 180 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001256/8.398, allocations: 374.8 kB / 3.617 GB, free: 179.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/8.398, allocations: 185.2 kB / 3.617 GB, free: 179.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/8.398, allocations: 375.2 kB / 3.618 GB, free: 179 MB / 0.948 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.001694/8.4, allocations: 0.6925 MB / 3.618 GB, free: 178.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/8.4, allocations: 0 / 3.618 GB, free: 178.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009567/8.401, allocations: 0.6164 MB / 3.619 GB, free: 177.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/8.401, allocations: 13.39 kB / 3.619 GB, free: 177.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/8.401, allocations: 4 kB / 3.619 GB, free: 177.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/8.401, allocations: 11.95 kB / 3.619 GB, free: 177.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/8.402, allocations: 140.4 kB / 3.619 GB, free: 177.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/8.402, allocations: 16 kB / 3.619 GB, free: 177.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008775/8.402, allocations: 83.78 kB / 3.619 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.308e-05/8.403, allocations: 27.98 kB / 3.619 GB, free: 177.4 MB / 0.948 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 () * 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.000155/8.403, allocations: 116.8 kB / 3.619 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005279/8.403, allocations: 392.2 kB / 3.62 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.82e-05/8.403, allocations: 79.11 kB / 3.62 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/8.403, allocations: 71.22 kB / 3.62 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/8.403, allocations: 4 kB / 3.62 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/8.404, allocations: 4.062 kB / 3.62 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004811/8.404, allocations: 0.6558 MB / 3.62 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/8.406, allocations: 1.423 MB / 3.622 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/8.406, allocations: 8.062 kB / 3.622 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/8.406, allocations: 87.83 kB / 3.622 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/8.406, allocations: 8 kB / 3.622 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/8.407, allocations: 12 kB / 3.622 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/8.407, allocations: 7.984 kB / 3.622 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.351e-06/8.407, allocations: 7.953 kB / 3.622 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009383/8.407, allocations: 0.969 MB / 3.623 GB, free: 173.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/8.408, allocations: 204.2 kB / 3.623 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.663e-05/8.408, allocations: 8 kB / 3.623 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006525/8.409, allocations: 51.86 kB / 3.623 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/8.409, allocations: 31.86 kB / 3.623 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/8.409, allocations: 31.48 kB / 3.623 GB, free: 172.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004831/8.409, allocations: 435.1 kB / 3.624 GB, free: 172.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/8.409, allocations: 0 / 3.624 GB, free: 172.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001256/8.41, allocations: 327.9 kB / 3.624 GB, free: 172.2 MB / 0.948 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 () * 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.003395/8.414, allocations: 4.001 MB / 3.628 GB, free: 168.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006558/8.414, allocations: 428.4 kB / 3.628 GB, free: 167.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/8.415, allocations: 0 / 3.628 GB, free: 167.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001827/8.415, allocations: 165.8 kB / 3.628 GB, free: 167.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/8.417, allocations: 408 kB / 3.629 GB, free: 167.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/8.419, allocations: 1.595 MB / 3.63 GB, free: 165.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005774/8.42, allocations: 1.119 MB / 3.631 GB, free: 164.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000828/8.421, allocations: 194.2 kB / 3.632 GB, free: 164.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/8.421, allocations: 335.3 kB / 3.632 GB, free: 163.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/8.421, allocations: 0 / 3.632 GB, free: 163.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05386/8.475, allocations: 30.02 MB / 3.661 GB, free: 134.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/8.475, allocations: 187.7 kB / 3.661 GB, free: 133.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.392/11.87, allocations: 6.391 kB / 3.661 GB, free: 133.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)