Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001213, allocations: 180 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4638/0.4638, allocations: 90.81 MB / 104.5 MB, free: 9.785 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 221.3 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009318/0.0009318, allocations: 98.2 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.525e-05, allocations: 8 kB / 0.4897 GB, free: 5.258 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3546, allocations: 72.29 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.615/4.97, allocations: 1.884 GB / 2.444 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/4.97, allocations: 88.81 kB / 2.444 GB, free: 142 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.489/7.46, allocations: 0.6002 GB / 3.044 GB, free: 95.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.866e-06/7.46, allocations: 0 / 3.044 GB, free: 95.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001662/7.46, allocations: 27.25 kB / 3.044 GB, free: 95.14 MB / 0.6042 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.004045/7.464, allocations: 1.128 MB / 3.046 GB, free: 94.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.256e-05/7.464, allocations: 16.81 kB / 3.046 GB, free: 94.76 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004394/7.464, allocations: 122 kB / 3.046 GB, free: 94.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/7.466, allocations: 219.6 kB / 3.046 GB, free: 94.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/7.468, allocations: 0.6657 MB / 3.047 GB, free: 94.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.75e-05/7.468, allocations: 58.53 kB / 3.047 GB, free: 94.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/7.468, allocations: 74.12 kB / 3.047 GB, free: 94.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/7.47, allocations: 0.8972 MB / 3.048 GB, free: 94.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/7.47, allocations: 7.703 kB / 3.048 GB, free: 94.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.725e-05/7.47, allocations: 33.38 kB / 3.048 GB, free: 94.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-05/7.47, allocations: 31.73 kB / 3.048 GB, free: 94.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/7.471, allocations: 0.5738 MB / 3.048 GB, free: 94.16 MB / 0.6042 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.004424/7.475, allocations: 4.574 MB / 3.053 GB, free: 91.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006386/7.476, allocations: 440.7 kB / 3.053 GB, free: 90.97 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/7.476, allocations: 234.3 kB / 3.053 GB, free: 90.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/7.477, allocations: 102.1 kB / 3.053 GB, free: 90.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/7.477, allocations: 37.47 kB / 3.053 GB, free: 90.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=43): time 2.876e-06/7.477, allocations: 3.75 kB / 3.053 GB, free: 90.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.002615/7.479, allocations: 1.396 MB / 3.055 GB, free: 90.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/7.479, allocations: 112 kB / 3.055 GB, free: 90.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007711/7.48, allocations: 0.6119 MB / 3.055 GB, free: 89.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/7.48, allocations: 38.36 kB / 3.056 GB, free: 89.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/7.48, allocations: 424 kB / 3.056 GB, free: 89.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/7.481, allocations: 167.4 kB / 3.056 GB, free: 89.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/7.481, allocations: 15.5 kB / 3.056 GB, free: 89.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.154e-05/7.481, allocations: 333.5 kB / 3.056 GB, free: 89.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/7.481, allocations: 172.1 kB / 3.057 GB, free: 89.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/7.481, allocations: 419.1 kB / 3.057 GB, free: 89.14 MB / 0.6042 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.00154/7.483, allocations: 0.6686 MB / 3.058 GB, free: 89.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/7.483, allocations: 0 / 3.058 GB, free: 89.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009958/7.484, allocations: 0.6497 MB / 3.058 GB, free: 88.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/7.484, allocations: 8.625 kB / 3.058 GB, free: 88.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/7.484, allocations: 7.5 kB / 3.058 GB, free: 88.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/7.484, allocations: 15.25 kB / 3.058 GB, free: 88.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/7.484, allocations: 127.8 kB / 3.058 GB, free: 88.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/7.484, allocations: 13.88 kB / 3.058 GB, free: 88.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007162/7.485, allocations: 52.61 kB / 3.058 GB, free: 88.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.681e-05/7.485, allocations: 36.34 kB / 3.059 GB, free: 88.96 MB / 0.6042 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 () * 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.0001444/7.485, allocations: 145.5 kB / 3.059 GB, free: 88.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/7.486, allocations: 83.47 kB / 3.059 GB, free: 88.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/7.486, allocations: 94.08 kB / 3.059 GB, free: 88.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/7.486, allocations: 7.438 kB / 3.059 GB, free: 88.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/7.486, allocations: 3.969 kB / 3.059 GB, free: 88.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006209/7.486, allocations: 0.6865 MB / 3.06 GB, free: 88.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/7.489, allocations: 1.597 MB / 3.061 GB, free: 87.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/7.489, allocations: 14.17 kB / 3.061 GB, free: 87.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000427/7.489, allocations: 95.11 kB / 3.061 GB, free: 87.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/7.489, allocations: 15.06 kB / 3.061 GB, free: 87.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/7.489, allocations: 17.97 kB / 3.061 GB, free: 87.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/7.489, allocations: 3.938 kB / 3.061 GB, free: 87.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/7.489, allocations: 3.406 kB / 3.061 GB, free: 87.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/7.49, allocations: 1.025 MB / 3.062 GB, free: 87.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/7.491, allocations: 204.7 kB / 3.062 GB, free: 87.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/7.491, allocations: 15.41 kB / 3.062 GB, free: 87.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005415/7.491, allocations: 40.97 kB / 3.062 GB, free: 87.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/7.491, allocations: 33.73 kB / 3.062 GB, free: 87.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/7.491, allocations: 22.36 kB / 3.063 GB, free: 87.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009773/7.492, allocations: 0.501 MB / 3.063 GB, free: 86.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/7.492, allocations: 0.625 kB / 3.063 GB, free: 86.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00168/7.494, allocations: 366.1 kB / 3.063 GB, free: 86.97 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete 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.003984/7.498, allocations: 4.161 MB / 3.067 GB, free: 84.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008427/7.499, allocations: 458.8 kB / 3.068 GB, free: 84.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/7.499, allocations: 3.938 kB / 3.068 GB, free: 84.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002705/7.499, allocations: 205 kB / 3.068 GB, free: 84.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/7.501, allocations: 455.7 kB / 3.068 GB, free: 84.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/7.505, allocations: 1.517 MB / 3.07 GB, free: 84.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/7.505, allocations: 1.046 MB / 3.071 GB, free: 83.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007872/7.506, allocations: 197.1 kB / 3.071 GB, free: 83.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/7.506, allocations: 300.9 kB / 3.071 GB, free: 83.29 MB / 0.6042 GB Notification: Performance of SimCode: time 1.002e-06/7.506, allocations: 0 / 3.071 GB, free: 83.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07941/7.586, allocations: 51.24 MB / 3.122 GB, free: 81.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/7.586, allocations: 220.3 kB / 3.122 GB, free: 81.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.392/10.98, allocations: 0 / 3.122 GB, free: 81.68 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)