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.8165/0.8165, allocations: 143.3 MB / 158.3 MB, free: 5.805 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.001138/0.001138, allocations: 183.4 kB / 191.5 MB, free: 5.766 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.61/1.61, allocations: 223.2 MB / 447.7 MB, free: 4.852 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.0009273/0.0009268, allocations: 92.28 kB / 0.5187 GB, free: 1.211 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002035/0.002035, allocations: 275 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004645, allocations: 20.62 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.198, allocations: 82.79 MB / 0.7738 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.393/5.591, allocations: 1.89 GB / 2.664 GB, free: 137 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/5.591, allocations: 92.27 kB / 2.664 GB, free: 137 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.479/10.07, allocations: 1.161 GB / 3.825 GB, free: 79.24 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.856e-06/10.07, allocations: 0 / 3.825 GB, free: 79.24 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.263e-05/10.07, allocations: 34.5 kB / 3.825 GB, free: 79.21 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.003527/10.07, allocations: 1.704 MB / 3.827 GB, free: 77.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/10.07, allocations: 12.02 kB / 3.827 GB, free: 77.45 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001645/10.07, allocations: 147.6 kB / 3.827 GB, free: 77.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/10.08, allocations: 418 kB / 3.827 GB, free: 76.89 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/10.08, allocations: 1.175 MB / 3.828 GB, free: 75.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008305/10.08, allocations: 269.8 kB / 3.829 GB, free: 75.42 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/10.08, allocations: 88 kB / 3.829 GB, free: 75.33 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/10.08, allocations: 1.214 MB / 3.83 GB, free: 74.01 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/10.08, allocations: 4 kB / 3.83 GB, free: 74 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-05/10.08, allocations: 39.98 kB / 3.83 GB, free: 73.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-05/10.08, allocations: 33.31 kB / 3.83 GB, free: 73.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/10.08, allocations: 0.9037 MB / 3.831 GB, free: 73.03 MB / 0.7136 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.005785/10.09, allocations: 5.661 MB / 3.836 GB, free: 67.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/10.09, allocations: 256.4 kB / 3.837 GB, free: 66.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/10.09, allocations: 93.09 kB / 3.837 GB, free: 66.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/10.09, allocations: 50.48 kB / 3.837 GB, free: 66.63 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007386/10.09, allocations: 123.2 kB / 3.837 GB, free: 66.51 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 3.737e-06/10.09, allocations: 0 / 3.837 GB, free: 66.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.001004/10.09, allocations: 451.5 kB / 3.837 GB, free: 66.06 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/10.09, allocations: 188.4 kB / 3.837 GB, free: 65.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/10.09, allocations: 1.127 MB / 3.839 GB, free: 64.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/10.09, allocations: 33.7 kB / 3.839 GB, free: 64.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/10.09, allocations: 0.6166 MB / 3.839 GB, free: 64.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/10.09, allocations: 82.92 kB / 3.839 GB, free: 63.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/10.09, allocations: 12 kB / 3.839 GB, free: 63.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.948e-05/10.09, allocations: 333.8 kB / 3.84 GB, free: 63.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000571/10.09, allocations: 241 kB / 3.84 GB, free: 63.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007096/10.09, allocations: 0.5472 MB / 3.84 GB, free: 62.69 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006403/10.09, allocations: 307.7 kB / 3.841 GB, free: 62.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/10.09, allocations: 4 kB / 3.841 GB, free: 62.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001574/10.1, allocations: 0.8378 MB / 3.841 GB, free: 61.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/10.1, allocations: 12 kB / 3.841 GB, free: 61.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/10.1, allocations: 8 kB / 3.841 GB, free: 61.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/10.1, allocations: 12 kB / 3.841 GB, free: 61.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000658/10.1, allocations: 180.3 kB / 3.842 GB, free: 61.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/10.1, allocations: 19.94 kB / 3.842 GB, free: 61.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/10.1, allocations: 203.7 kB / 3.842 GB, free: 61.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-05/10.1, allocations: 35.98 kB / 3.842 GB, free: 61.08 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 () * Number of clocked 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 0.0004254/10.1, allocations: 308.9 kB / 3.842 GB, free: 60.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/10.1, allocations: 118.5 kB / 3.842 GB, free: 60.66 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/10.1, allocations: 268.2 kB / 3.843 GB, free: 60.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/10.1, allocations: 4 kB / 3.843 GB, free: 60.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/10.1, allocations: 4 kB / 3.843 GB, free: 60.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/10.1, allocations: 0 / 3.843 GB, free: 60.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/10.1, allocations: 1.647 MB / 3.844 GB, free: 58.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/10.1, allocations: 7.953 kB / 3.844 GB, free: 58.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/10.1, allocations: 39.92 kB / 3.844 GB, free: 58.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-06/10.1, allocations: 4 kB / 3.844 GB, free: 58.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/10.1, allocations: 11.39 kB / 3.844 GB, free: 58.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/10.1, allocations: 7.984 kB / 3.844 GB, free: 58.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/10.1, allocations: 4 kB / 3.844 GB, free: 58.57 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/10.1, allocations: 0.6359 MB / 3.845 GB, free: 57.83 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/10.1, allocations: 231.5 kB / 3.845 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/10.1, allocations: 11.95 kB / 3.845 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007268/10.1, allocations: 83.86 kB / 3.845 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/10.1, allocations: 15.92 kB / 3.845 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/10.1, allocations: 12 kB / 3.845 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001188/10.1, allocations: 0.9035 MB / 3.846 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/10.1, allocations: 0 / 3.846 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001678/10.11, allocations: 0.4956 MB / 3.847 GB, free: 56.06 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 () * Number of clocked 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.003741/10.11, allocations: 4.202 MB / 3.851 GB, free: 51.67 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009145/10.11, allocations: 439.4 kB / 3.851 GB, free: 51.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/10.11, allocations: 256 / 3.851 GB, free: 51.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/10.11, allocations: 107.8 kB / 3.851 GB, free: 51.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/10.11, allocations: 0.5604 MB / 3.852 GB, free: 50.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009409/10.12, allocations: 12.32 MB / 3.864 GB, free: 37.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/10.12, allocations: 1.142 MB / 3.865 GB, free: 36.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009401/10.12, allocations: 220.6 kB / 3.865 GB, free: 36.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004111/10.12, allocations: 407.2 kB / 3.866 GB, free: 36.02 MB / 0.7136 GB Notification: Performance of SimCode: time 1.583e-06/10.12, allocations: 0 / 3.866 GB, free: 36.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5392/10.66, allocations: 61.07 MB / 3.925 GB, free: 109.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/10.66, allocations: 265.7 kB / 3.925 GB, free: 109.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.06/14.72, allocations: 0.7812 kB / 3.925 GB, free: 109.1 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)