Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.91/1.91, allocations: 288.4 MB / 303.3 MB, free: 8.133 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.001546/0.001546, allocations: 176.5 kB / 372 MB, free: 10.27 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.933/1.933, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0009929/0.0009926, allocations: 93.17 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005038/0.0005036, allocations: 19.78 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2569, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.8062/1.063, allocations: 170.3 MB / 1.146 GB, free: 11.81 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01743/1.081, allocations: 12.12 MB / 1.158 GB, free: 4.883 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/1.083, allocations: 27.12 kB / 1.158 GB, free: 4.871 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/1.084, allocations: 301.8 kB / 1.158 GB, free: 4.621 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003802/1.088, allocations: 0.8801 MB / 1.159 GB, free: 3.926 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002507/1.09, allocations: 0.5231 MB / 1.16 GB, free: 3.559 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004547/1.095, allocations: 2.327 MB / 1.162 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/1.096, allocations: 0.6036 MB / 1.162 GB, free: 1.84 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004863/1.101, allocations: 1.363 MB / 1.164 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001832/1.103, allocations: 0.6144 MB / 1.164 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001583/1.103, allocations: 37.47 kB / 1.164 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/1.105, allocations: 447.9 kB / 1.165 GB, free: 452 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004828/1.106, allocations: 329.7 kB / 1.165 GB, free: 244 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004232/1.106, allocations: 202.8 kB / 1.165 GB, free: 128 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001658/1.108, allocations: 1.029 MB / 1.166 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.108, allocations: 1.344 kB / 1.166 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.823e-06/1.108, allocations: 0 / 1.166 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.487e-05/1.108, allocations: 0 / 1.166 GB, free: 15.45 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00199/1.11, allocations: 1.063 MB / 1.167 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/1.11, allocations: 13.08 kB / 1.167 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/1.11, allocations: 122.1 kB / 1.167 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/1.111, allocations: 217.7 kB / 1.168 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/1.112, allocations: 0.6116 MB / 1.168 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.097e-05/1.112, allocations: 57.25 kB / 1.168 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/1.113, allocations: 75.47 kB / 1.168 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/1.114, allocations: 0.9317 MB / 1.169 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/1.114, allocations: 1.188 kB / 1.169 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-05/1.114, allocations: 37.3 kB / 1.169 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-05/1.114, allocations: 27.16 kB / 1.169 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/1.115, allocations: 0.6185 MB / 1.17 GB, free: 12.84 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.006062/1.121, allocations: 4.583 MB / 1.174 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009425/1.122, allocations: 0.5365 MB / 1.175 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004208/1.123, allocations: 246.3 kB / 1.175 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002601/1.123, allocations: 102 kB / 1.175 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/1.123, allocations: 37.62 kB / 1.175 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 4.499e-06/1.123, allocations: 0 / 1.175 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.003873/1.127, allocations: 1.577 MB / 1.177 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.373e-05/1.127, allocations: 110.7 kB / 1.177 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008673/1.128, allocations: 0.6992 MB / 1.178 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.03e-05/1.128, allocations: 38.92 kB / 1.178 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/1.128, allocations: 413.4 kB / 1.178 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/1.129, allocations: 169.1 kB / 1.178 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/1.129, allocations: 17 kB / 1.178 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001929/1.129, allocations: 387.8 kB / 1.179 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/1.129, allocations: 185.5 kB / 1.179 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004922/1.13, allocations: 414.3 kB / 1.179 GB, free: 5.016 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/1.131, allocations: 0.6604 MB / 1.18 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.131, allocations: 2.875 kB / 1.18 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001044/1.132, allocations: 0.6589 MB / 1.18 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/1.132, allocations: 5.25 kB / 1.18 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/1.132, allocations: 12.88 kB / 1.181 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/1.132, allocations: 7.688 kB / 1.181 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/1.133, allocations: 126.6 kB / 1.181 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/1.133, allocations: 14.83 kB / 1.181 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007087/1.134, allocations: 51.06 kB / 1.181 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/1.134, allocations: 26.88 kB / 1.181 GB, free: 4.227 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: 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.0004504/1.134, allocations: 280 kB / 1.181 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/1.134, allocations: 80.75 kB / 1.181 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/1.135, allocations: 92.2 kB / 1.181 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/1.135, allocations: 4.656 kB / 1.181 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.135, allocations: 3.938 kB / 1.181 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007291/1.135, allocations: 0.6987 MB / 1.182 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/1.138, allocations: 1.644 MB / 1.183 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.138, allocations: 2.781 kB / 1.183 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/1.138, allocations: 103.4 kB / 1.184 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/1.138, allocations: 9.812 kB / 1.184 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/1.138, allocations: 16.03 kB / 1.184 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/1.138, allocations: 10.2 kB / 1.184 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/1.138, allocations: 8.5 kB / 1.184 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/1.139, allocations: 0.8836 MB / 1.184 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/1.14, allocations: 211.5 kB / 1.185 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/1.14, allocations: 19.92 kB / 1.185 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004805/1.14, allocations: 35.73 kB / 1.185 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/1.14, allocations: 44.56 kB / 1.185 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/1.14, allocations: 17.09 kB / 1.185 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006219/1.141, allocations: 0.5088 MB / 1.185 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.81e-07/1.141, allocations: 0 / 1.185 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008023/1.142, allocations: 200.4 kB / 1.185 GB, free: 0.8281 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.001718/1.144, allocations: 1.511 MB / 1.187 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007643/1.144, allocations: 465.5 kB / 1.187 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.144, allocations: 2.906 kB / 1.187 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002723/1.145, allocations: 209.3 kB / 1.188 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/1.147, allocations: 472.7 kB / 1.188 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00751/1.154, allocations: 4.976 MB / 1.193 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/1.155, allocations: 1.021 MB / 1.194 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0008927/1.156, allocations: 199.6 kB / 1.194 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004132/1.156, allocations: 291.6 kB / 1.194 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of SimCode: time 9.41e-07/1.156, allocations: 4 kB / 1.194 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04325/1.2, allocations: 21.55 MB / 1.215 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/1.2, allocations: 281.8 kB / 1.216 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/3.846, allocations: 0 / 1.216 GB, free: 7.988 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)