Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9039/0.9039, allocations: 143.4 MB / 158.3 MB, free: 5.75 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 173 kB / 191.5 MB, free: 5.75 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.859/1.859, allocations: 223.2 MB / 447.7 MB, free: 4.789 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 98.22 kB / 0.5187 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002196/0.002196, allocations: 274.9 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004821, allocations: 17.91 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2195, allocations: 82.78 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.756/4.976, allocations: 1.882 GB / 2.656 GB, free: 85.75 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000383/4.976, allocations: 91.95 kB / 2.656 GB, free: 85.66 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.509/6.485, allocations: 372.3 MB / 3.019 GB, free: 162.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.996e-06/6.485, allocations: 0 / 3.019 GB, free: 162.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.563e-05/6.485, allocations: 19.59 kB / 3.019 GB, free: 162.5 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002073/6.487, allocations: 0.9672 MB / 3.02 GB, free: 162.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/6.487, allocations: 13.45 kB / 3.02 GB, free: 162.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001193/6.487, allocations: 93 kB / 3.02 GB, free: 162.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/6.488, allocations: 170 kB / 3.02 GB, free: 162.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/6.49, allocations: 0.548 MB / 3.021 GB, free: 161.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/6.49, allocations: 32.75 kB / 3.021 GB, free: 161.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-05/6.49, allocations: 45.11 kB / 3.021 GB, free: 161.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/6.491, allocations: 455 kB / 3.021 GB, free: 161.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/6.491, allocations: 0 / 3.021 GB, free: 161.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.71e-05/6.491, allocations: 19.59 kB / 3.022 GB, free: 161.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/6.491, allocations: 14.56 kB / 3.022 GB, free: 161.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00082/6.492, allocations: 413.3 kB / 3.022 GB, free: 161.8 MB / 0.698 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.003133/6.495, allocations: 2.009 MB / 3.024 GB, free: 160.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005479/6.495, allocations: 271.3 kB / 3.024 GB, free: 160.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002868/6.496, allocations: 192 kB / 3.024 GB, free: 160.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/6.496, allocations: 36.62 kB / 3.024 GB, free: 160.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 2.955e-06/6.496, allocations: 4.625 kB / 3.024 GB, free: 160.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.001633/6.497, allocations: 0.6432 MB / 3.025 GB, free: 160.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/6.497, allocations: 56.78 kB / 3.025 GB, free: 160.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005777/6.498, allocations: 381.3 kB / 3.025 GB, free: 160.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/6.498, allocations: 32.05 kB / 3.025 GB, free: 160.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/6.498, allocations: 282.2 kB / 3.026 GB, free: 160.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.31e-05/6.498, allocations: 103.8 kB / 3.026 GB, free: 160 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/6.498, allocations: 5.125 kB / 3.026 GB, free: 160 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001102/6.498, allocations: 360.5 kB / 3.026 GB, free: 159.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/6.499, allocations: 128.2 kB / 3.026 GB, free: 159.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/6.499, allocations: 217.2 kB / 3.026 GB, free: 159.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/6.499, allocations: 155.1 kB / 3.027 GB, free: 159.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/6.499, allocations: 0 / 3.027 GB, free: 159.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006993/6.5, allocations: 408.8 kB / 3.027 GB, free: 159.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/6.5, allocations: 0.529 MB / 3.028 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/6.5, allocations: 3.953 kB / 3.028 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/6.5, allocations: 3.156 kB / 3.028 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/6.501, allocations: 75.06 kB / 3.028 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/6.501, allocations: 6.312 kB / 3.028 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006134/6.501, allocations: 57.98 kB / 3.028 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/6.501, allocations: 14.31 kB / 3.028 GB, free: 159 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/6.501, allocations: 7.344 kB / 3.028 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006089/6.502, allocations: 339.7 kB / 3.028 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/6.502, allocations: 7.703 kB / 3.028 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.751e-06/6.502, allocations: 2.875 kB / 3.028 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/6.502, allocations: 74.88 kB / 3.028 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/6.502, allocations: 3.906 kB / 3.028 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/6.503, allocations: 54 kB / 3.028 GB, free: 159 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/6.503, allocations: 14.66 kB / 3.028 GB, free: 159 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0003152/6.503, allocations: 292.3 kB / 3.028 GB, free: 158.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/6.503, allocations: 47.81 kB / 3.029 GB, free: 158.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008411/6.504, allocations: 426.8 kB / 3.029 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/6.504, allocations: 4.25 kB / 3.029 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/6.504, allocations: 0 / 3.029 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006524/6.505, allocations: 459.5 kB / 3.029 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/6.507, allocations: 1.134 MB / 3.03 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/6.507, allocations: 5.625 kB / 3.03 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/6.507, allocations: 64.16 kB / 3.031 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002544/6.507, allocations: 46.38 kB / 3.031 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/6.507, allocations: 7.5 kB / 3.031 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/6.508, allocations: 1.441 MB / 3.032 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/6.508, allocations: 8.891 kB / 3.032 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/6.51, allocations: 0.8004 MB / 3.033 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002924/6.51, allocations: 167.5 kB / 3.033 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.315e-05/6.51, allocations: 8.406 kB / 3.033 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004343/6.51, allocations: 43.16 kB / 3.033 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/6.511, allocations: 25.94 kB / 3.033 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/6.511, allocations: 17.12 kB / 3.033 GB, free: 156.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003644/6.511, allocations: 302.2 kB / 3.033 GB, free: 156.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.511, allocations: 2.125 kB / 3.033 GB, free: 156.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001497/6.512, allocations: 415.8 kB / 3.034 GB, free: 156.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * 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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003176/6.516, allocations: 2.846 MB / 3.036 GB, free: 154.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001179/6.517, allocations: 0.4949 MB / 3.037 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/6.517, allocations: 0 / 3.037 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004888/6.517, allocations: 290.7 kB / 3.037 GB, free: 154.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/6.519, allocations: 308 kB / 3.038 GB, free: 154.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004288/6.523, allocations: 3.781 MB / 3.041 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/6.524, allocations: 0.9164 MB / 3.042 GB, free: 152.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006438/6.524, allocations: 161.5 kB / 3.042 GB, free: 152.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/6.524, allocations: 183.2 kB / 3.042 GB, free: 152.3 MB / 0.698 GB Notification: Performance of SimCode: time 2.184e-06/6.525, allocations: 0 / 3.042 GB, free: 152.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04805/6.573, allocations: 31.41 MB / 3.073 GB, free: 151.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/6.573, allocations: 267.8 kB / 3.073 GB, free: 151.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.082/9.655, allocations: 1.875 kB / 3.073 GB, free: 151.2 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)