Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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 2.662/2.662, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001537/0.001537, allocations: 178.2 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001211/0.00121, allocations: 93.86 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005147/0.0005148, allocations: 13.17 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2411, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.9456/1.187, allocations: 155.8 MB / 1.13 GB, free: 15.89 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02001/1.207, allocations: 10.9 MB / 1.141 GB, free: 14.74 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/1.208, allocations: 25.97 kB / 1.141 GB, free: 14.73 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002058/1.21, allocations: 435.1 kB / 1.141 GB, free: 14.58 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004809/1.215, allocations: 1.038 MB / 1.142 GB, free: 14.19 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003799/1.219, allocations: 0.8199 MB / 1.143 GB, free: 14.04 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003334/1.223, allocations: 1.149 MB / 1.144 GB, free: 13.77 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/1.224, allocations: 0.613 MB / 1.145 GB, free: 13.62 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004584/1.229, allocations: 1.212 MB / 1.146 GB, free: 12.97 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/1.23, allocations: 423.2 kB / 1.147 GB, free: 12.73 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001982/1.23, allocations: 33.72 kB / 1.147 GB, free: 12.73 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002036/1.232, allocations: 419.3 kB / 1.147 GB, free: 12.57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005911/1.233, allocations: 305.1 kB / 1.147 GB, free: 12.39 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004447/1.233, allocations: 206.9 kB / 1.148 GB, free: 12.28 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002222/1.236, allocations: 0.9839 MB / 1.148 GB, free: 11.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.236, allocations: 0.9688 kB / 1.148 GB, free: 11.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.875e-06/1.236, allocations: 0 / 1.148 GB, free: 11.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.617e-05/1.236, allocations: 0 / 1.148 GB, free: 11.62 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002625/1.238, allocations: 1.049 MB / 1.149 GB, free: 10.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/1.238, allocations: 9 kB / 1.15 GB, free: 10.79 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002549/1.239, allocations: 125.3 kB / 1.15 GB, free: 10.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/1.241, allocations: 219.1 kB / 1.15 GB, free: 10.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/1.242, allocations: 0.6135 MB / 1.15 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.306e-05/1.243, allocations: 56.91 kB / 1.15 GB, free: 10.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/1.243, allocations: 75.5 kB / 1.151 GB, free: 10.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/1.245, allocations: 0.9181 MB / 1.151 GB, free: 9.371 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.074e-05/1.245, allocations: 5.125 kB / 1.151 GB, free: 9.367 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/1.245, allocations: 33.66 kB / 1.151 GB, free: 9.344 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.235e-05/1.245, allocations: 27.06 kB / 1.152 GB, free: 9.344 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002719/1.248, allocations: 0.6152 MB / 1.152 GB, free: 9.039 MB / 0.698 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.008157/1.256, allocations: 4.59 MB / 1.157 GB, free: 4.824 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/1.258, allocations: 0.5336 MB / 1.157 GB, free: 4.449 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.198e-05/1.258, allocations: 11.2 kB / 1.157 GB, free: 4.445 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/1.258, allocations: 42.75 kB / 1.157 GB, free: 4.398 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 3.176e-06/1.258, allocations: 0 / 1.157 GB, free: 4.398 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.005192/1.263, allocations: 1.579 MB / 1.159 GB, free: 3.363 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.895e-05/1.263, allocations: 111.6 kB / 1.159 GB, free: 3.234 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/1.265, allocations: 0.7062 MB / 1.16 GB, free: 2.828 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001721/1.265, allocations: 36.73 kB / 1.16 GB, free: 2.789 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000475/1.265, allocations: 414.3 kB / 1.16 GB, free: 2.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002624/1.266, allocations: 162.3 kB / 1.16 GB, free: 2.289 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/1.266, allocations: 10.44 kB / 1.16 GB, free: 2.281 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002255/1.266, allocations: 390 kB / 1.16 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005657/1.267, allocations: 182 kB / 1.161 GB, free: 1.824 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008231/1.267, allocations: 417.6 kB / 1.161 GB, free: 1.441 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002894/1.27, allocations: 0.6572 MB / 1.162 GB, free: 1.062 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/1.27, allocations: 2.906 kB / 1.162 GB, free: 1.062 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002031/1.272, allocations: 0.6647 MB / 1.162 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/1.273, allocations: 8.094 kB / 1.162 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/1.273, allocations: 6.562 kB / 1.162 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.375e-05/1.273, allocations: 10.59 kB / 1.162 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009351/1.274, allocations: 121.4 kB / 1.162 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.024e-05/1.274, allocations: 17.83 kB / 1.162 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/1.275, allocations: 50.58 kB / 1.163 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.547e-05/1.275, allocations: 31.48 kB / 1.163 GB, free: 0.6484 MB / 0.698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0007068/1.276, allocations: 274.1 kB / 1.163 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/1.276, allocations: 87.42 kB / 1.163 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/1.276, allocations: 88.41 kB / 1.163 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/1.276, allocations: 12.91 kB / 1.163 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/1.276, allocations: 1.188 kB / 1.163 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001157/1.278, allocations: 0.7009 MB / 1.164 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00433/1.282, allocations: 1.641 MB / 1.165 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.282, allocations: 4.031 kB / 1.165 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000969/1.283, allocations: 102.4 kB / 1.165 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.549e-05/1.283, allocations: 6.344 kB / 1.165 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.702e-05/1.283, allocations: 11.62 kB / 1.165 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.505e-05/1.283, allocations: 10.72 kB / 1.165 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/1.283, allocations: 4.094 kB / 1.165 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/1.285, allocations: 1.089 MB / 1.166 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006934/1.286, allocations: 203.2 kB / 1.167 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/1.286, allocations: 22.81 kB / 1.167 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009168/1.287, allocations: 35.58 kB / 1.167 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/1.287, allocations: 32.67 kB / 1.167 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/1.287, allocations: 18.38 kB / 1.167 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001078/1.288, allocations: 0.5038 MB / 1.167 GB, free: 13 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.8e-07/1.288, allocations: 5.281 kB / 1.167 GB, free: 13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001497/1.29, allocations: 204.9 kB / 1.167 GB, free: 12.97 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.003287/1.293, allocations: 2.807 MB / 1.17 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001336/1.295, allocations: 461.6 kB / 1.171 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.295, allocations: 2.781 kB / 1.171 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000533/1.295, allocations: 214.3 kB / 1.171 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003877/1.299, allocations: 446.1 kB / 1.171 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/1.317, allocations: 8.992 MB / 1.18 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.318, allocations: 1.041 MB / 1.181 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001834/1.32, allocations: 195 kB / 1.181 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000968/1.321, allocations: 293.5 kB / 1.182 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of SimCode: time 1.192e-06/1.321, allocations: 4 kB / 1.182 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09065/1.412, allocations: 21.54 MB / 1.203 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004622/1.412, allocations: 260.2 kB / 1.203 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.545/4.957, allocations: 0 / 1.203 GB, free: 2.281 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)