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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005411/0.005411, allocations: 100.5 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001462, allocations: 188.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00239/0.00239, allocations: 282 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.151/1.151, allocations: 178.6 MB / 0.5074 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002605/0.002605, allocations: 99.84 kB / 0.6943 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3736, allocations: 89.13 MB / 0.7814 GB, free: 1.156 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.5933/0.967, allocations: 221.9 MB / 0.998 GB, free: 1.934 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01507/0.9821, allocations: 13.76 MB / 1.011 GB, free: 1.852 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/0.9842, allocations: 67.81 kB / 1.012 GB, free: 1.852 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.986, allocations: 0.8079 MB / 1.012 GB, free: 1.84 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005075/0.9911, allocations: 2.161 MB / 1.014 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003124/0.9942, allocations: 1.187 MB / 1.016 GB, free: 1.723 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004023/0.9982, allocations: 2.882 MB / 1.018 GB, free: 1.715 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.9998, allocations: 1.2 MB / 1.02 GB, free: 1.582 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005158/1.005, allocations: 2.438 MB / 1.022 GB, free: 1.539 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/1.007, allocations: 1.028 MB / 1.023 GB, free: 1.527 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000194/1.007, allocations: 98.91 kB / 1.023 GB, free: 1.527 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002862/1.01, allocations: 1.59 MB / 1.025 GB, free: 1.512 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003967/1.011, allocations: 428 kB / 1.025 GB, free: 1.512 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007698/1.011, allocations: 0.6799 MB / 1.026 GB, free: 1.512 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002703/1.014, allocations: 2.089 MB / 1.028 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/1.014, allocations: 0.7812 kB / 1.028 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.813e-06/1.014, allocations: 1.422 kB / 1.028 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.661e-05/1.014, allocations: 0.8438 kB / 1.028 GB, free: 1.363 MB / 0.7481 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.002105/1.016, allocations: 1.699 MB / 1.029 GB, free: 16.43 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/1.016, allocations: 11.06 kB / 1.029 GB, free: 16.43 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001308/1.016, allocations: 139.3 kB / 1.03 GB, free: 16.39 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/1.018, allocations: 441.3 kB / 1.03 GB, free: 16.32 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/1.02, allocations: 0.9541 MB / 1.031 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.329e-05/1.02, allocations: 70.31 kB / 1.031 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.805e-05/1.02, allocations: 86.81 kB / 1.031 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/1.021, allocations: 1.22 MB / 1.032 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/1.021, allocations: 9.688 kB / 1.032 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.661e-05/1.022, allocations: 38.59 kB / 1.032 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/1.022, allocations: 39.48 kB / 1.032 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/1.023, allocations: 0.8723 MB / 1.033 GB, free: 15.61 MB / 0.7637 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.006043/1.029, allocations: 6.038 MB / 1.039 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/1.03, allocations: 261.1 kB / 1.039 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/1.03, allocations: 153.2 kB / 1.039 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/1.03, allocations: 95.12 kB / 1.04 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/1.03, allocations: 43.78 kB / 1.04 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005993/1.031, allocations: 124.3 kB / 1.04 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=20): time 1.794e-06/1.031, allocations: 0.9062 kB / 1.04 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of matching and sorting (n=20): time 0.001063/1.032, allocations: 477.1 kB / 1.04 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/1.032, allocations: 187.1 kB / 1.04 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/1.033, allocations: 1.31 MB / 1.042 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/1.033, allocations: 31.95 kB / 1.042 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003994/1.034, allocations: 0.637 MB / 1.042 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.19e-05/1.034, allocations: 75.75 kB / 1.042 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/1.034, allocations: 138.4 kB / 1.042 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.034, allocations: 335.3 kB / 1.043 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005867/1.035, allocations: 239.6 kB / 1.043 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000827/1.036, allocations: 0.553 MB / 1.044 GB, free: 9.781 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/1.037, allocations: 0.6893 MB / 1.044 GB, free: 9.422 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/1.037, allocations: 9.156 kB / 1.044 GB, free: 9.418 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001669/1.038, allocations: 0.8624 MB / 1.045 GB, free: 9.301 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.038, allocations: 8.375 kB / 1.045 GB, free: 9.301 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.038, allocations: 10.75 kB / 1.045 GB, free: 9.301 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/1.039, allocations: 13.31 kB / 1.045 GB, free: 9.301 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/1.039, allocations: 170 kB / 1.045 GB, free: 9.301 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/1.039, allocations: 23.75 kB / 1.045 GB, free: 9.297 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/1.04, allocations: 127 kB / 1.045 GB, free: 9.289 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/1.04, allocations: 40.33 kB / 1.045 GB, free: 9.285 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003647/1.041, allocations: 300 kB / 1.046 GB, free: 9.164 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/1.041, allocations: 126.2 kB / 1.046 GB, free: 9.098 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004396/1.041, allocations: 281.3 kB / 1.046 GB, free: 9.051 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.041, allocations: 2.125 kB / 1.046 GB, free: 9.051 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.041, allocations: 6.625 kB / 1.046 GB, free: 9.047 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/1.041, allocations: 7.438 kB / 1.046 GB, free: 9.043 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/1.043, allocations: 1.677 MB / 1.048 GB, free: 8.258 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.043, allocations: 3.406 kB / 1.048 GB, free: 8.258 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/1.044, allocations: 34.97 kB / 1.048 GB, free: 8.258 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/1.044, allocations: 5.219 kB / 1.048 GB, free: 8.258 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/1.044, allocations: 8.5 kB / 1.048 GB, free: 8.258 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/1.044, allocations: 9.344 kB / 1.048 GB, free: 8.258 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.044, allocations: 5.906 kB / 1.048 GB, free: 8.254 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/1.044, allocations: 0.4929 MB / 1.048 GB, free: 7.949 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/1.044, allocations: 244.7 kB / 1.049 GB, free: 7.789 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/1.045, allocations: 9.156 kB / 1.049 GB, free: 7.785 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006905/1.045, allocations: 51.09 kB / 1.049 GB, free: 7.781 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/1.045, allocations: 25.19 kB / 1.049 GB, free: 7.773 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/1.045, allocations: 8.281 kB / 1.049 GB, free: 7.773 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001227/1.047, allocations: 0.9162 MB / 1.05 GB, free: 7.66 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.31e-07/1.047, allocations: 0 / 1.05 GB, free: 7.66 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007941/1.047, allocations: 280.2 kB / 1.05 GB, free: 7.633 MB / 0.7637 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001128/1.049, allocations: 1.148 MB / 1.051 GB, free: 6.773 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0009083/1.05, allocations: 459.1 kB / 1.051 GB, free: 6.762 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.05, allocations: 0.75 kB / 1.051 GB, free: 6.762 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/1.05, allocations: 110.4 kB / 1.051 GB, free: 6.758 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/1.052, allocations: 0.5821 MB / 1.052 GB, free: 6.656 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/1.063, allocations: 8.146 MB / 1.06 GB, free: 3.637 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006697/1.064, allocations: 1.114 MB / 1.061 GB, free: 2.922 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008264/1.064, allocations: 240.2 kB / 1.061 GB, free: 2.867 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/1.065, allocations: 410 kB / 1.062 GB, free: 2.859 MB / 0.7637 GB Notification: Performance of SimCode: time 7.62e-07/1.065, allocations: 0 / 1.062 GB, free: 2.859 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05659/1.121, allocations: 27.61 MB / 1.089 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.647/10.77, allocations: 8.953 kB / 1.089 GB, free: 4.402 MB / 0.7794 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)