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.6831/0.6831, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009875/0.0009875, allocations: 184.6 kB / 187.3 MB, free: 11.88 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.226/1.226, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0007988/0.0007987, allocations: 95.05 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001612/0.001612, allocations: 270.8 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.025e-05/3.027e-05, allocations: 8 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.391, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.596/3.987, allocations: 1.882 GB / 2.646 GB, free: 165.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/3.987, allocations: 87.95 kB / 2.646 GB, free: 165.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.006/4.993, allocations: 372 MB / 3.009 GB, free: 65.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.795e-06/4.993, allocations: 0 / 3.009 GB, free: 65.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.597e-05/4.993, allocations: 16 kB / 3.009 GB, free: 65.54 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.001835/4.995, allocations: 0.8767 MB / 3.01 GB, free: 64.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/4.995, allocations: 8.031 kB / 3.01 GB, free: 64.61 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001601/4.995, allocations: 86.52 kB / 3.01 GB, free: 64.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/4.997, allocations: 171 kB / 3.011 GB, free: 64.35 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/4.998, allocations: 0.5455 MB / 3.011 GB, free: 63.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/4.998, allocations: 29 kB / 3.011 GB, free: 63.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.641e-05/4.998, allocations: 51.95 kB / 3.011 GB, free: 63.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007025/4.998, allocations: 430.5 kB / 3.012 GB, free: 63.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/4.998, allocations: 0 / 3.012 GB, free: 63.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.081e-05/4.999, allocations: 20 kB / 3.012 GB, free: 63.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/4.999, allocations: 13 kB / 3.012 GB, free: 63.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005323/4.999, allocations: 367.8 kB / 3.012 GB, free: 62.86 MB / 0.698 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.002328/5.001, allocations: 2.011 MB / 3.014 GB, free: 60.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/5.002, allocations: 250.5 kB / 3.014 GB, free: 60.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/5.002, allocations: 169.8 kB / 3.014 GB, free: 60.26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002269/5.002, allocations: 194.2 kB / 3.014 GB, free: 60.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/5.002, allocations: 38.5 kB / 3.015 GB, free: 59.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/5.002, allocations: 0 / 3.015 GB, free: 59.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.0008391/5.003, allocations: 391.9 kB / 3.015 GB, free: 59.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/5.003, allocations: 55.41 kB / 3.015 GB, free: 59.53 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/5.003, allocations: 375.2 kB / 3.015 GB, free: 59.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/5.004, allocations: 29.7 kB / 3.015 GB, free: 59.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/5.004, allocations: 280.1 kB / 3.016 GB, free: 58.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.305e-05/5.004, allocations: 110.4 kB / 3.016 GB, free: 58.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/5.004, allocations: 12 kB / 3.016 GB, free: 58.72 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.85e-05/5.004, allocations: 354.8 kB / 3.016 GB, free: 58.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/5.004, allocations: 108 kB / 3.016 GB, free: 58.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/5.004, allocations: 197.1 kB / 3.016 GB, free: 58.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/5.004, allocations: 149.4 kB / 3.017 GB, free: 57.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/5.004, allocations: 0 / 3.017 GB, free: 57.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004558/5.005, allocations: 368.9 kB / 3.017 GB, free: 57.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/5.005, allocations: 0.5255 MB / 3.017 GB, free: 56.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/5.005, allocations: 0 / 3.017 GB, free: 56.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/5.005, allocations: 7.953 kB / 3.017 GB, free: 56.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/5.005, allocations: 71.91 kB / 3.017 GB, free: 56.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/5.005, allocations: 7.984 kB / 3.017 GB, free: 56.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/5.006, allocations: 51.72 kB / 3.018 GB, free: 56.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/5.006, allocations: 16 kB / 3.018 GB, free: 56.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/5.006, allocations: 8.875 kB / 3.018 GB, free: 56.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004023/5.006, allocations: 300 kB / 3.018 GB, free: 56.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-06/5.006, allocations: 4.156 kB / 3.018 GB, free: 56.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.691e-06/5.006, allocations: 4 kB / 3.018 GB, free: 56.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/5.007, allocations: 75.84 kB / 3.018 GB, free: 56.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/5.007, allocations: 3.938 kB / 3.018 GB, free: 56.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/5.007, allocations: 59.73 kB / 3.018 GB, free: 56.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/5.007, allocations: 16 kB / 3.018 GB, free: 56.34 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 () * 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 8.687e-05/5.007, allocations: 120.9 kB / 3.018 GB, free: 56.22 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/5.007, allocations: 51.34 kB / 3.018 GB, free: 56.17 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005762/5.008, allocations: 387.5 kB / 3.019 GB, free: 55.78 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/5.008, allocations: 8 kB / 3.019 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/5.008, allocations: 0 / 3.019 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004286/5.008, allocations: 417.1 kB / 3.019 GB, free: 55.33 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/5.01, allocations: 1.092 MB / 3.02 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/5.01, allocations: 0 / 3.02 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/5.01, allocations: 63.91 kB / 3.02 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002008/5.01, allocations: 49.05 kB / 3.02 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/5.01, allocations: 11.98 kB / 3.02 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008315/5.011, allocations: 1.437 MB / 3.021 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/5.011, allocations: 4.031 kB / 3.022 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007427/5.012, allocations: 0.7442 MB / 3.022 GB, free: 51.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/5.012, allocations: 164.4 kB / 3.022 GB, free: 51.44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.83e-05/5.012, allocations: 15.94 kB / 3.022 GB, free: 51.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/5.012, allocations: 39.94 kB / 3.022 GB, free: 51.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/5.013, allocations: 27.91 kB / 3.022 GB, free: 51.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/5.013, allocations: 8 kB / 3.022 GB, free: 51.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002546/5.013, allocations: 301.2 kB / 3.023 GB, free: 51.06 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/5.013, allocations: 0 / 3.023 GB, free: 51.06 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001068/5.014, allocations: 419.3 kB / 3.023 GB, free: 50.65 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 () * 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.002315/5.016, allocations: 2.798 MB / 3.026 GB, free: 47.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006057/5.017, allocations: 466.2 kB / 3.026 GB, free: 47.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/5.017, allocations: 0 / 3.026 GB, free: 47.31 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003309/5.017, allocations: 276.4 kB / 3.027 GB, free: 47.03 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/5.019, allocations: 307.2 kB / 3.027 GB, free: 46.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/5.02, allocations: 0.9588 MB / 3.028 GB, free: 45.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/5.02, allocations: 0.9149 MB / 3.029 GB, free: 44.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006546/5.021, allocations: 208.3 kB / 3.029 GB, free: 44.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/5.021, allocations: 183.3 kB / 3.029 GB, free: 44.39 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/5.021, allocations: 0 / 3.029 GB, free: 44.39 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04738/5.069, allocations: 35.12 MB / 3.063 GB, free: 9.539 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/5.069, allocations: 250.8 kB / 3.064 GB, free: 9.211 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.932/8.001, allocations: 0 / 3.064 GB, free: 9.211 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)