Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.MoistureMixingConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",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.6731/0.6731, 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.0009126/0.0009126, allocations: 183.8 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.176/1.176, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0008342/0.0008341, allocations: 93.22 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001648/0.001648, allocations: 280.5 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.76e-05/2.762e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3334, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.384/3.717, allocations: 1.89 GB / 2.655 GB, free: 156.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/3.718, allocations: 87.95 kB / 2.655 GB, free: 156.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.281/6.999, allocations: 1.16 GB / 3.814 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.253e-06/6.999, allocations: 0 / 3.814 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.293e-05/6.999, allocations: 28 kB / 3.814 GB, free: 57.58 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002219/7.001, allocations: 1.507 MB / 3.816 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/7.001, allocations: 12.03 kB / 3.816 GB, free: 56.01 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/7.001, allocations: 143.5 kB / 3.816 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/7.003, allocations: 425.9 kB / 3.816 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/7.005, allocations: 1.159 MB / 3.818 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000835/7.006, allocations: 273.8 kB / 3.818 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/7.006, allocations: 91.98 kB / 3.818 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/7.007, allocations: 1.105 MB / 3.819 GB, free: 52.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/7.007, allocations: 3.938 kB / 3.819 GB, free: 52.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/7.008, allocations: 40 kB / 3.819 GB, free: 52.63 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/7.008, allocations: 37.31 kB / 3.819 GB, free: 52.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008961/7.008, allocations: 0.701 MB / 3.82 GB, free: 51.89 MB / 0.7136 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.004749/7.013, allocations: 5.663 MB / 3.825 GB, free: 45.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/7.014, allocations: 251.7 kB / 3.825 GB, free: 45.65 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/7.014, allocations: 137.2 kB / 3.826 GB, free: 45.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/7.014, allocations: 101.1 kB / 3.826 GB, free: 45.38 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/7.014, allocations: 42.5 kB / 3.826 GB, free: 45.33 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006265/7.015, allocations: 122.2 kB / 3.826 GB, free: 45.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 2.605e-06/7.015, allocations: 0 / 3.826 GB, free: 45.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.000823/7.015, allocations: 367.9 kB / 3.826 GB, free: 44.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/7.015, allocations: 191.8 kB / 3.826 GB, free: 44.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009897/7.016, allocations: 1.036 MB / 3.827 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/7.016, allocations: 29.7 kB / 3.827 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/7.017, allocations: 0.6127 MB / 3.828 GB, free: 42.92 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/7.017, allocations: 85.62 kB / 3.828 GB, free: 42.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/7.017, allocations: 12 kB / 3.828 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.536e-05/7.017, allocations: 322 kB / 3.828 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/7.017, allocations: 149.1 kB / 3.829 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/7.017, allocations: 456.5 kB / 3.829 GB, free: 41.76 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/7.018, allocations: 214.9 kB / 3.829 GB, free: 41.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/7.018, allocations: 4 kB / 3.829 GB, free: 41.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0007702/7.018, allocations: 0.6502 MB / 3.83 GB, free: 40.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/7.018, allocations: 8.938 kB / 3.83 GB, free: 40.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/7.019, allocations: 12 kB / 3.83 GB, free: 40.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/7.019, allocations: 15.94 kB / 3.83 GB, free: 40.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/7.019, allocations: 179.8 kB / 3.83 GB, free: 40.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/7.019, allocations: 15.94 kB / 3.83 GB, free: 40.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/7.02, allocations: 211.6 kB / 3.83 GB, free: 40.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/7.02, allocations: 39.98 kB / 3.83 GB, free: 40.42 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 63 * 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.542e-05/7.021, allocations: 132.8 kB / 3.83 GB, free: 40.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/7.021, allocations: 126.5 kB / 3.831 GB, free: 40.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003859/7.021, allocations: 270.9 kB / 3.831 GB, free: 39.89 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/7.021, allocations: 0 / 3.831 GB, free: 39.89 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/7.021, allocations: 4 kB / 3.831 GB, free: 39.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/7.021, allocations: 0 / 3.831 GB, free: 39.89 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/7.023, allocations: 1.654 MB / 3.832 GB, free: 38.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/7.023, allocations: 4 kB / 3.832 GB, free: 38.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/7.023, allocations: 36.3 kB / 3.832 GB, free: 38.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/7.023, allocations: 15.38 kB / 3.833 GB, free: 38.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/7.023, allocations: 8 kB / 3.833 GB, free: 38.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/7.023, allocations: 7.938 kB / 3.833 GB, free: 38.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/7.023, allocations: 4 kB / 3.833 GB, free: 38.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000383/7.023, allocations: 0.633 MB / 3.833 GB, free: 37.33 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/7.024, allocations: 239.5 kB / 3.833 GB, free: 37.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/7.024, allocations: 4 kB / 3.833 GB, free: 37.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006734/7.024, allocations: 75.92 kB / 3.833 GB, free: 37 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/7.024, allocations: 23.92 kB / 3.833 GB, free: 36.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/7.025, allocations: 15.95 kB / 3.833 GB, free: 36.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007576/7.025, allocations: 0.8001 MB / 3.834 GB, free: 36.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/7.025, allocations: 0 / 3.834 GB, free: 36.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001361/7.027, allocations: 495.5 kB / 3.835 GB, free: 35.67 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.00274/7.029, allocations: 4.204 MB / 3.839 GB, free: 31.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004445/7.03, allocations: 341.2 kB / 3.839 GB, free: 30.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/7.03, allocations: 1.875 kB / 3.839 GB, free: 30.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/7.03, allocations: 100.4 kB / 3.839 GB, free: 30.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/7.032, allocations: 0.5628 MB / 3.84 GB, free: 30.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/7.034, allocations: 1.465 MB / 3.841 GB, free: 28.67 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/7.034, allocations: 1.138 MB / 3.842 GB, free: 27.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006652/7.035, allocations: 217.4 kB / 3.843 GB, free: 27.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/7.035, allocations: 415.2 kB / 3.843 GB, free: 26.88 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/7.035, allocations: 7.875 kB / 3.843 GB, free: 26.87 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.446/7.481, allocations: 66.62 MB / 3.908 GB, free: 101.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/7.482, allocations: 231.7 kB / 3.908 GB, free: 100.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.024/11.51, allocations: 0 / 3.908 GB, free: 100.9 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)