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.002786/0.002785, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.607/0.607, allocations: 91.98 MB / 108.5 MB, free: 13.07 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.689/1.689, allocations: 223.2 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 88.34 kB / 427.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003953, allocations: 12 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1892, allocations: 72.3 MB / 0.5689 GB, free: 1.84 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.626/4.815, allocations: 1.884 GB / 2.453 GB, free: 8.516 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/4.815, allocations: 87.95 kB / 2.453 GB, free: 8.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.47/7.285, allocations: 0.6007 GB / 3.054 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.954e-06/7.285, allocations: 0 / 3.054 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.589e-05/7.285, allocations: 24 kB / 3.054 GB, free: 101.6 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.002688/7.288, allocations: 1.25 MB / 3.055 GB, free: 100.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/7.288, allocations: 12.03 kB / 3.055 GB, free: 100.4 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/7.288, allocations: 122.5 kB / 3.055 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/7.289, allocations: 205.5 kB / 3.055 GB, free: 100 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/7.291, allocations: 0.6718 MB / 3.056 GB, free: 99.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/7.291, allocations: 58 kB / 3.056 GB, free: 99.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/7.291, allocations: 79.98 kB / 3.056 GB, free: 99.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/7.292, allocations: 0.9116 MB / 3.057 GB, free: 98.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/7.292, allocations: 0 / 3.057 GB, free: 98.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.826e-05/7.292, allocations: 31.94 kB / 3.057 GB, free: 98.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.142e-05/7.292, allocations: 33.3 kB / 3.057 GB, free: 98.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008528/7.293, allocations: 0.5865 MB / 3.058 GB, free: 97.55 MB / 0.6042 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.004471/7.298, allocations: 4.575 MB / 3.062 GB, free: 92.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007328/7.298, allocations: 454.4 kB / 3.062 GB, free: 92.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/7.299, allocations: 99.88 kB / 3.063 GB, free: 92.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/7.299, allocations: 39.59 kB / 3.063 GB, free: 92.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=43): time 2.845e-06/7.299, allocations: 0 / 3.063 GB, free: 92.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.003073/7.302, allocations: 1.572 MB / 3.064 GB, free: 90.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/7.302, allocations: 109.7 kB / 3.064 GB, free: 90.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008719/7.303, allocations: 0.6171 MB / 3.065 GB, free: 89.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/7.303, allocations: 45.58 kB / 3.065 GB, free: 89.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/7.303, allocations: 419.8 kB / 3.065 GB, free: 89.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/7.303, allocations: 161.7 kB / 3.065 GB, free: 89.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/7.303, allocations: 12 kB / 3.065 GB, free: 89.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001013/7.303, allocations: 328.7 kB / 3.066 GB, free: 88.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/7.304, allocations: 185.2 kB / 3.066 GB, free: 88.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/7.304, allocations: 413.3 kB / 3.066 GB, free: 88.06 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.001533/7.306, allocations: 0.6742 MB / 3.067 GB, free: 87.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/7.306, allocations: 0 / 3.067 GB, free: 87.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008193/7.307, allocations: 0.6577 MB / 3.068 GB, free: 86.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/7.307, allocations: 8 kB / 3.068 GB, free: 86.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/7.307, allocations: 4 kB / 3.068 GB, free: 86.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/7.307, allocations: 15.95 kB / 3.068 GB, free: 86.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/7.307, allocations: 123.8 kB / 3.068 GB, free: 86.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/7.307, allocations: 15.92 kB / 3.068 GB, free: 86.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006391/7.308, allocations: 55.75 kB / 3.068 GB, free: 86.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-05/7.308, allocations: 28 kB / 3.068 GB, free: 86.49 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 () * 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.000387/7.308, allocations: 279.4 kB / 3.068 GB, free: 86.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/7.308, allocations: 79.06 kB / 3.068 GB, free: 86.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/7.308, allocations: 87.66 kB / 3.068 GB, free: 86.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/7.309, allocations: 8 kB / 3.068 GB, free: 86.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/7.309, allocations: 3.953 kB / 3.068 GB, free: 86.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005759/7.309, allocations: 0.692 MB / 3.069 GB, free: 85.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/7.311, allocations: 1.612 MB / 3.071 GB, free: 83.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/7.311, allocations: 4 kB / 3.071 GB, free: 83.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/7.312, allocations: 99.83 kB / 3.071 GB, free: 83.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/7.312, allocations: 11.44 kB / 3.071 GB, free: 83.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/7.312, allocations: 15.98 kB / 3.071 GB, free: 83.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/7.312, allocations: 8 kB / 3.071 GB, free: 83.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/7.312, allocations: 7.938 kB / 3.071 GB, free: 83.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/7.313, allocations: 1.028 MB / 3.072 GB, free: 82.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/7.313, allocations: 208.1 kB / 3.072 GB, free: 82.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.61e-05/7.313, allocations: 12 kB / 3.072 GB, free: 82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/7.314, allocations: 46.22 kB / 3.072 GB, free: 81.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/7.314, allocations: 42.52 kB / 3.072 GB, free: 81.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/7.314, allocations: 26.28 kB / 3.072 GB, free: 81.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000538/7.314, allocations: 0.499 MB / 3.072 GB, free: 81.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.21e-07/7.314, allocations: 4 kB / 3.072 GB, free: 81.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001444/7.316, allocations: 356 kB / 3.073 GB, free: 81.05 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 () * 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.003711/7.32, allocations: 4.172 MB / 3.077 GB, free: 76.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008238/7.32, allocations: 457 kB / 3.077 GB, free: 76.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/7.32, allocations: 4.375 kB / 3.077 GB, free: 76.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000231/7.321, allocations: 215.9 kB / 3.078 GB, free: 76.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/7.323, allocations: 445.1 kB / 3.078 GB, free: 75.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007162/7.33, allocations: 9.01 MB / 3.087 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005657/7.33, allocations: 1.044 MB / 3.088 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000986/7.331, allocations: 198.7 kB / 3.088 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/7.332, allocations: 303.3 kB / 3.088 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of SimCode: time 1.222e-06/7.332, allocations: 0 / 3.088 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06515/7.397, allocations: 46.99 MB / 3.134 GB, free: 18.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/7.397, allocations: 252.8 kB / 3.134 GB, free: 17.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.717/11.11, allocations: 4 kB / 3.134 GB, free: 17.97 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)