Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.557/1.557, allocations: 251.9 MB / 266.9 MB, free: 10.98 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.001807/0.001807, allocations: 180.2 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.158/2.158, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.001017/0.001017, allocations: 88.42 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003832, allocations: 17.31 kB / 0.7963 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2868, allocations: 106.3 MB / 0.9002 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.959/7.245, allocations: 2.203 GB / 3.104 GB, free: 243 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/7.246, allocations: 94.86 kB / 3.104 GB, free: 243 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.882/9.128, allocations: 0.5746 GB / 3.678 GB, free: 80.83 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.683e-06/9.128, allocations: 0 / 3.678 GB, free: 80.83 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001153/9.128, allocations: 31.98 kB / 3.678 GB, free: 80.8 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003779/9.132, allocations: 1.24 MB / 3.68 GB, free: 79.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/9.132, allocations: 12.03 kB / 3.68 GB, free: 79.49 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004202/9.132, allocations: 130.6 kB / 3.68 GB, free: 79.36 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/9.134, allocations: 215.2 kB / 3.68 GB, free: 79.14 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/9.136, allocations: 0.668 MB / 3.681 GB, free: 78.44 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.124e-05/9.136, allocations: 58 kB / 3.681 GB, free: 78.38 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/9.136, allocations: 76 kB / 3.681 GB, free: 78.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/9.138, allocations: 0.9093 MB / 3.682 GB, free: 77.32 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/9.138, allocations: 4 kB / 3.682 GB, free: 77.31 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.028e-05/9.138, allocations: 32 kB / 3.682 GB, free: 77.28 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-05/9.138, allocations: 37.23 kB / 3.682 GB, free: 77.24 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/9.139, allocations: 0.5865 MB / 3.682 GB, free: 76.65 MB / 0.8855 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.004526/9.144, allocations: 4.574 MB / 3.687 GB, free: 71.79 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005781/9.144, allocations: 439.8 kB / 3.687 GB, free: 71.33 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/9.144, allocations: 105.1 kB / 3.687 GB, free: 71.21 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/9.144, allocations: 38.56 kB / 3.687 GB, free: 71.16 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=43): time 3.216e-06/9.144, allocations: 0 / 3.687 GB, free: 71.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45): time 0.003079/9.148, allocations: 1.551 MB / 3.689 GB, free: 69.55 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/9.148, allocations: 114.7 kB / 3.689 GB, free: 69.41 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007966/9.148, allocations: 0.6171 MB / 3.689 GB, free: 68.79 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/9.149, allocations: 37.7 kB / 3.69 GB, free: 68.74 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/9.149, allocations: 427.7 kB / 3.69 GB, free: 68.32 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/9.149, allocations: 161.7 kB / 3.69 GB, free: 68.16 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/9.149, allocations: 12 kB / 3.69 GB, free: 68.15 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001321/9.149, allocations: 386.8 kB / 3.69 GB, free: 67.76 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/9.149, allocations: 185.2 kB / 3.691 GB, free: 67.58 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/9.15, allocations: 407.6 kB / 3.691 GB, free: 67.08 MB / 0.8855 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.001427/9.151, allocations: 0.6416 MB / 3.692 GB, free: 66.42 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/9.151, allocations: 0 / 3.692 GB, free: 66.42 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000955/9.152, allocations: 0.666 MB / 3.692 GB, free: 65.75 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/9.152, allocations: 8 kB / 3.692 GB, free: 65.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/9.152, allocations: 8 kB / 3.692 GB, free: 65.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/9.152, allocations: 8 kB / 3.692 GB, free: 65.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/9.153, allocations: 123.8 kB / 3.692 GB, free: 65.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/9.153, allocations: 16.52 kB / 3.692 GB, free: 65.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007103/9.153, allocations: 51.81 kB / 3.692 GB, free: 65.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.787e-05/9.154, allocations: 28 kB / 3.693 GB, free: 65.51 MB / 0.8855 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.0004374/9.154, allocations: 281.6 kB / 3.693 GB, free: 65.22 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/9.154, allocations: 87.02 kB / 3.693 GB, free: 65.14 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/9.154, allocations: 87.66 kB / 3.693 GB, free: 65.05 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/9.154, allocations: 4 kB / 3.693 GB, free: 65.04 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/9.154, allocations: 4 kB / 3.693 GB, free: 65.04 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006065/9.155, allocations: 0.6803 MB / 3.694 GB, free: 64.27 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/9.157, allocations: 1.598 MB / 3.695 GB, free: 62.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/9.157, allocations: 4 kB / 3.695 GB, free: 62.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004502/9.158, allocations: 103.8 kB / 3.695 GB, free: 62.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/9.158, allocations: 8 kB / 3.695 GB, free: 62.46 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/9.158, allocations: 19.98 kB / 3.695 GB, free: 62.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/9.158, allocations: 7.953 kB / 3.695 GB, free: 62.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/9.158, allocations: 7.938 kB / 3.695 GB, free: 62.42 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/9.159, allocations: 1.064 MB / 3.696 GB, free: 61.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/9.159, allocations: 212.1 kB / 3.697 GB, free: 60.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/9.16, allocations: 16 kB / 3.697 GB, free: 60.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005586/9.16, allocations: 43.84 kB / 3.697 GB, free: 60.92 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/9.16, allocations: 39.86 kB / 3.697 GB, free: 60.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/9.16, allocations: 19.98 kB / 3.697 GB, free: 60.86 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005595/9.161, allocations: 0.5068 MB / 3.697 GB, free: 60.36 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/9.161, allocations: 0 / 3.697 GB, free: 60.36 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001547/9.162, allocations: 364 kB / 3.698 GB, free: 60 MB / 0.8855 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.00391/9.166, allocations: 4.183 MB / 3.702 GB, free: 55.62 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007453/9.167, allocations: 461.2 kB / 3.702 GB, free: 55.17 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/9.167, allocations: 4 kB / 3.702 GB, free: 55.17 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/9.167, allocations: 204 kB / 3.702 GB, free: 54.97 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/9.169, allocations: 458.9 kB / 3.703 GB, free: 54.53 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00694/9.176, allocations: 8.986 MB / 3.711 GB, free: 45.26 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/9.177, allocations: 1.044 MB / 3.712 GB, free: 44.19 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0008063/9.177, allocations: 190.9 kB / 3.713 GB, free: 44 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/9.178, allocations: 299.3 kB / 3.713 GB, free: 43.7 MB / 0.8855 GB Notification: Performance of SimCode: time 3.025e-06/9.178, allocations: 0 / 3.713 GB, free: 43.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6462/9.824, allocations: 47.07 MB / 3.759 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/9.824, allocations: 267.1 kB / 3.759 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.41/13.23, allocations: 0 / 3.759 GB, free: 190.2 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)