Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.MoistureMixingConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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.00464/0.00464, allocations: 96.5 kB / 15.73 MB, free: 6.043 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.001214/0.001214, allocations: 193.7 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002371/0.002371, allocations: 286.7 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9868/0.9868, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002598/0.002598, allocations: 100.2 kB / 0.681 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.148, allocations: 86.96 MB / 0.7659 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.4989/0.6469, allocations: 222.6 MB / 0.9833 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01636/0.6633, allocations: 12.12 MB / 0.9951 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.6648, allocations: 71.62 kB / 0.9952 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.6666, allocations: 0.8576 MB / 0.9961 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005782/0.6725, allocations: 2.863 MB / 0.9988 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.6755, allocations: 1.44 MB / 1 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004872/0.6803, allocations: 4.464 MB / 1.005 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002029/0.6824, allocations: 1.716 MB / 1.006 GB, free: 12.67 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004497/0.6869, allocations: 2.47 MB / 1.009 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002435/0.6893, allocations: 1.557 MB / 1.01 GB, free: 8.664 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000258/0.6896, allocations: 180 kB / 1.01 GB, free: 8.488 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00363/0.6932, allocations: 2.163 MB / 1.013 GB, free: 6.32 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006648/0.6939, allocations: 0.7051 MB / 1.013 GB, free: 5.613 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.695, allocations: 1.046 MB / 1.014 GB, free: 4.562 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003967/0.6989, allocations: 3.352 MB / 1.017 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6989, allocations: 0 / 1.017 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6989, allocations: 0 / 1.017 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.264e-05/0.699, allocations: 0 / 1.017 GB, free: 1.199 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003524/0.7025, allocations: 2.348 MB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.7025, allocations: 12.03 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002545/0.7028, allocations: 202.8 kB / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002811/0.7056, allocations: 0.51 MB / 1.02 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.7077, allocations: 1.346 MB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-05/0.7078, allocations: 110.8 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.7081, allocations: 155.9 kB / 1.022 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002617/0.7107, allocations: 1.76 MB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.7107, allocations: 7.938 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.7109, allocations: 60 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.549e-05/0.7109, allocations: 50.53 kB / 1.024 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.7132, allocations: 1.403 MB / 1.025 GB, free: 9 MB / 0.7794 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.008368/0.7215, allocations: 7.294 MB / 1.032 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.7232, allocations: 1.067 MB / 1.033 GB, free: 224 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009802/0.7242, allocations: 0.6905 MB / 1.034 GB, free: 15.52 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/0.7244, allocations: 110.1 kB / 1.034 GB, free: 15.39 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.7244, allocations: 60.11 kB / 1.034 GB, free: 15.32 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001052/0.7255, allocations: 310.9 kB / 1.035 GB, free: 15.02 MB / 0.795 GB Notification: Performance of pre-optimization done (n=106): time 2.796e-06/0.7255, allocations: 0 / 1.035 GB, free: 15.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=112): time 0.007823/0.7333, allocations: 4.529 MB / 1.039 GB, free: 10.43 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.7335, allocations: 167.2 kB / 1.039 GB, free: 10.22 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.735, allocations: 1.271 MB / 1.04 GB, free: 8.941 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.006e-05/0.7351, allocations: 53.7 kB / 1.04 GB, free: 8.883 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000596/0.7357, allocations: 0.7136 MB / 1.041 GB, free: 8.164 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003772/0.7361, allocations: 424.4 kB / 1.042 GB, free: 7.746 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003845/0.7365, allocations: 263.5 kB / 1.042 GB, free: 7.48 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.7367, allocations: 361.9 kB / 1.042 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008622/0.7375, allocations: 0.5231 MB / 1.043 GB, free: 6.598 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.7387, allocations: 0.8524 MB / 1.043 GB, free: 5.621 MB / 0.795 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/0.7501, allocations: 4.799 MB / 1.048 GB, free: 0.668 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.7501, allocations: 4 kB / 1.048 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002508/0.7526, allocations: 1.625 MB / 1.05 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.7527, allocations: 12 kB / 1.05 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.7527, allocations: 8 kB / 1.05 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.907e-05/0.7527, allocations: 12 kB / 1.05 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.7539, allocations: 295.5 kB / 1.05 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.5e-05/0.7539, allocations: 19.94 kB / 1.05 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.755, allocations: 47.88 kB / 1.05 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.7552, allocations: 65.38 kB / 1.05 GB, free: 14.58 MB / 0.8106 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.0007866/0.7559, allocations: 428.5 kB / 1.051 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004787/0.7564, allocations: 167 kB / 1.051 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/0.7586, allocations: 1.287 MB / 1.052 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.7586, allocations: 15.98 kB / 1.052 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.7586, allocations: 7.969 kB / 1.052 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001631/0.7602, allocations: 1.248 MB / 1.053 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005967/0.7662, allocations: 3.762 MB / 1.057 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.7662, allocations: 12 kB / 1.057 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.7673, allocations: 247.6 kB / 1.057 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-05/0.7673, allocations: 16 kB / 1.057 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.478e-05/0.7674, allocations: 39.94 kB / 1.057 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.725e-05/0.7674, allocations: 19.92 kB / 1.057 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/0.7675, allocations: 19.88 kB / 1.057 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/0.7703, allocations: 2.134 MB / 1.059 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005627/0.7709, allocations: 371.8 kB / 1.06 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.771, allocations: 43.92 kB / 1.06 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.7721, allocations: 44.86 kB / 1.06 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.7722, allocations: 104.3 kB / 1.06 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.243e-05/0.7723, allocations: 51.98 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00109/0.7734, allocations: 0.849 MB / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7734, allocations: 0 / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001335/0.7748, allocations: 432 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * 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 (115): * Single equations (assignments): 115 * 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.00349/0.7783, allocations: 2.821 MB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001943/0.7802, allocations: 1.254 MB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7802, allocations: 0 / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008016/0.781, allocations: 0.5526 MB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003623/0.7847, allocations: 0.9365 MB / 1.067 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/0.8019, allocations: 12.72 MB / 1.079 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.803, allocations: 1.38 MB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001192/0.8042, allocations: 381.3 kB / 1.081 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000916/0.8051, allocations: 0.6438 MB / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of SimCode: time 4.41e-07/0.8051, allocations: 0 / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.324/5.129, allocations: 43.26 MB / 1.124 GB, free: 282.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.12/25.25, allocations: 12.03 kB / 1.124 GB, free: 282.8 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)