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.895/2.895, allocations: 287.3 MB / 302.3 MB, free: 8.262 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.001595/0.001595, allocations: 183.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.106/2.106, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001173/0.001173, allocations: 98.16 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007186/0.0007184, allocations: 16.22 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2699, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.974/7.244, allocations: 2.085 GB / 3.063 GB, free: 169.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/7.245, allocations: 94.5 kB / 3.063 GB, free: 169.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.535/10.78, allocations: 0.5883 GB / 3.652 GB, free: 200.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.825e-06/10.78, allocations: 3.562 kB / 3.652 GB, free: 200.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001336/10.78, allocations: 27.84 kB / 3.652 GB, free: 200.5 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004854/10.79, allocations: 1.246 MB / 3.653 GB, free: 200 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/10.79, allocations: 13.53 kB / 3.653 GB, free: 200 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005481/10.79, allocations: 121.4 kB / 3.653 GB, free: 200 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/10.79, allocations: 205.2 kB / 3.653 GB, free: 199.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/10.79, allocations: 0.653 MB / 3.654 GB, free: 199.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.906e-05/10.79, allocations: 62.39 kB / 3.654 GB, free: 199.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/10.79, allocations: 83.53 kB / 3.654 GB, free: 199.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/10.79, allocations: 0.8963 MB / 3.655 GB, free: 199.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.265e-05/10.79, allocations: 9.281 kB / 3.655 GB, free: 199.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/10.79, allocations: 35.03 kB / 3.655 GB, free: 199.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.271e-05/10.79, allocations: 30.16 kB / 3.655 GB, free: 199.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/10.8, allocations: 0.5854 MB / 3.656 GB, free: 199.4 MB / 0.948 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.007927/10.8, allocations: 4.562 MB / 3.66 GB, free: 196.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/10.81, allocations: 448.9 kB / 3.66 GB, free: 196.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002682/10.81, allocations: 105 kB / 3.661 GB, free: 196.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/10.81, allocations: 41.3 kB / 3.661 GB, free: 196.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 3.387e-06/10.81, allocations: 3.938 kB / 3.661 GB, free: 196.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.004828/10.81, allocations: 1.55 MB / 3.662 GB, free: 195.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/10.81, allocations: 115.9 kB / 3.662 GB, free: 195.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/10.81, allocations: 0.6153 MB / 3.663 GB, free: 195.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001698/10.81, allocations: 36.3 kB / 3.663 GB, free: 195.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/10.81, allocations: 419.3 kB / 3.663 GB, free: 195.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/10.81, allocations: 161 kB / 3.663 GB, free: 195 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/10.81, allocations: 16.22 kB / 3.663 GB, free: 195 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001472/10.81, allocations: 386.6 kB / 3.664 GB, free: 194.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/10.81, allocations: 179.6 kB / 3.664 GB, free: 194.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006303/10.81, allocations: 414.6 kB / 3.664 GB, free: 194.4 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002775/10.82, allocations: 0.6514 MB / 3.665 GB, free: 194.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/10.82, allocations: 6.688 kB / 3.665 GB, free: 194.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001662/10.82, allocations: 0.6572 MB / 3.666 GB, free: 194.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/10.82, allocations: 8.656 kB / 3.666 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/10.82, allocations: 7.531 kB / 3.666 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.064e-05/10.82, allocations: 11.28 kB / 3.666 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009005/10.82, allocations: 129.7 kB / 3.666 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.102e-05/10.82, allocations: 12.89 kB / 3.666 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/10.82, allocations: 51.31 kB / 3.666 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/10.82, allocations: 37.03 kB / 3.666 GB, free: 194.3 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: 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.0006925/10.82, allocations: 276.6 kB / 3.666 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000301/10.82, allocations: 83.88 kB / 3.666 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/10.82, allocations: 89.66 kB / 3.666 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/10.82, allocations: 3.906 kB / 3.666 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/10.82, allocations: 6.656 kB / 3.666 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001006/10.82, allocations: 0.6938 MB / 3.667 GB, free: 193.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003842/10.83, allocations: 1.6 MB / 3.669 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.557e-06/10.83, allocations: 3.469 kB / 3.669 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008861/10.83, allocations: 104.5 kB / 3.669 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-05/10.83, allocations: 7.766 kB / 3.669 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.406e-05/10.83, allocations: 17.05 kB / 3.669 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/10.83, allocations: 11.09 kB / 3.669 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/10.83, allocations: 3.781 kB / 3.669 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/10.83, allocations: 1.056 MB / 3.67 GB, free: 192.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006627/10.83, allocations: 206.7 kB / 3.67 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/10.83, allocations: 11.12 kB / 3.67 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009209/10.83, allocations: 44.19 kB / 3.67 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/10.83, allocations: 41.31 kB / 3.67 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.99e-05/10.83, allocations: 18.59 kB / 3.67 GB, free: 192.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000985/10.83, allocations: 0.4989 MB / 3.671 GB, free: 192.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.01e-07/10.83, allocations: 0 / 3.671 GB, free: 192.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002117/10.84, allocations: 368.6 kB / 3.671 GB, free: 192.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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.005445/10.84, allocations: 4.2 MB / 3.675 GB, free: 189.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001408/10.84, allocations: 459.9 kB / 3.675 GB, free: 189.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/10.84, allocations: 0 / 3.675 GB, free: 189.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004892/10.84, allocations: 208.4 kB / 3.676 GB, free: 189.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004007/10.85, allocations: 453.9 kB / 3.676 GB, free: 189.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/10.86, allocations: 8.971 MB / 3.685 GB, free: 183.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006451/10.86, allocations: 1.042 MB / 3.686 GB, free: 183.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00133/10.86, allocations: 194.3 kB / 3.686 GB, free: 183.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006414/10.86, allocations: 292.9 kB / 3.686 GB, free: 183.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.432e-06/10.86, allocations: 0 / 3.686 GB, free: 183.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/10.98, allocations: 46.94 MB / 3.732 GB, free: 182 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003053/10.98, allocations: 250.8 kB / 3.732 GB, free: 181.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.69/15.67, allocations: 2.312 kB / 3.732 GB, free: 181.7 MB / 0.948 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)