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.004149/0.00415, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001189/0.001189, allocations: 200.3 kB / 16.68 MB, free: 5.934 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002448/0.002449, allocations: 284.2 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.154/1.154, allocations: 178.6 MB / 0.5074 GB, free: 12.65 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00261/0.00261, allocations: 100.2 kB / 0.6943 GB, free: 15.16 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3654, allocations: 89.13 MB / 0.7814 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.6062/0.9716, allocations: 222.6 MB / 0.9987 GB, free: 1.914 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01486/0.9865, allocations: 12.12 MB / 1.011 GB, free: 1.844 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002502/0.989, allocations: 72.78 kB / 1.011 GB, free: 1.844 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.9909, allocations: 0.8584 MB / 1.011 GB, free: 1.832 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006647/0.9976, allocations: 2.859 MB / 1.014 GB, free: 1.727 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003329/1.001, allocations: 1.434 MB / 1.016 GB, free: 1.695 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005743/1.007, allocations: 4.464 MB / 1.02 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002178/1.009, allocations: 1.717 MB / 1.022 GB, free: 1.508 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005521/1.014, allocations: 2.471 MB / 1.024 GB, free: 1.469 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003205/1.018, allocations: 1.552 MB / 1.026 GB, free: 1.465 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003738/1.018, allocations: 179.8 kB / 1.026 GB, free: 1.465 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004348/1.022, allocations: 2.174 MB / 1.028 GB, free: 1.441 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005778/1.023, allocations: 0.7038 MB / 1.029 GB, free: 1.441 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001075/1.024, allocations: 1.045 MB / 1.03 GB, free: 1.422 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003529/1.028, allocations: 3.34 MB / 1.033 GB, free: 0.9883 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.028, allocations: 7.969 kB / 1.033 GB, free: 0.9883 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.172e-06/1.028, allocations: 0 / 1.033 GB, free: 0.9883 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.377e-05/1.028, allocations: 0.75 kB / 1.033 GB, free: 0.9883 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002959/1.031, allocations: 2.333 MB / 1.035 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/1.031, allocations: 11.06 kB / 1.035 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002082/1.031, allocations: 210.9 kB / 1.035 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002619/1.033, allocations: 0.5062 MB / 1.036 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/1.035, allocations: 1.348 MB / 1.037 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.431e-05/1.035, allocations: 115.9 kB / 1.037 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/1.036, allocations: 149.6 kB / 1.037 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/1.038, allocations: 1.767 MB / 1.039 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.806e-05/1.038, allocations: 10.64 kB / 1.039 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/1.038, allocations: 59.38 kB / 1.039 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.795e-05/1.038, allocations: 55.75 kB / 1.039 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/1.04, allocations: 1.399 MB / 1.041 GB, free: 14.93 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.00744/1.047, allocations: 7.311 MB / 1.048 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/1.049, allocations: 1.05 MB / 1.049 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007934/1.049, allocations: 0.6928 MB / 1.05 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002106/1.05, allocations: 115.8 kB / 1.05 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/1.05, allocations: 54.34 kB / 1.05 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001012/1.051, allocations: 307.1 kB / 1.05 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=106): time 3.767e-06/1.051, allocations: 0 / 1.05 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of matching and sorting (n=112): time 0.007083/1.058, allocations: 4.536 MB / 1.054 GB, free: 9.152 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/1.058, allocations: 174.6 kB / 1.055 GB, free: 8.965 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/1.059, allocations: 1.266 MB / 1.056 GB, free: 8.789 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.508e-05/1.059, allocations: 53.83 kB / 1.056 GB, free: 8.758 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004351/1.06, allocations: 0.7064 MB / 1.057 GB, free: 8.496 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/1.06, allocations: 429 kB / 1.057 GB, free: 8.223 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003317/1.061, allocations: 262.1 kB / 1.057 GB, free: 8.199 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.061, allocations: 359.4 kB / 1.058 GB, free: 7.895 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006962/1.061, allocations: 0.5211 MB / 1.058 GB, free: 7.891 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009619/1.062, allocations: 0.858 MB / 1.059 GB, free: 7.555 MB / 0.7637 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.01036/1.073, allocations: 4.8 MB / 1.064 GB, free: 6.902 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.073, allocations: 2.5 kB / 1.064 GB, free: 6.902 MB / 0.7637 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002389/1.075, allocations: 1.627 MB / 1.065 GB, free: 6.742 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/1.075, allocations: 7.375 kB / 1.065 GB, free: 6.742 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.075, allocations: 7 kB / 1.065 GB, free: 6.742 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/1.075, allocations: 15.28 kB / 1.065 GB, free: 6.742 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/1.076, allocations: 293.1 kB / 1.065 GB, free: 6.742 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-05/1.076, allocations: 25.09 kB / 1.065 GB, free: 6.738 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/1.077, allocations: 52 kB / 1.066 GB, free: 6.734 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-05/1.078, allocations: 63.52 kB / 1.066 GB, free: 6.73 MB / 0.7637 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.0006418/1.078, allocations: 424.8 kB / 1.066 GB, free: 6.613 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/1.079, allocations: 171.4 kB / 1.066 GB, free: 6.523 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/1.08, allocations: 1.286 MB / 1.067 GB, free: 6.434 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/1.08, allocations: 12.19 kB / 1.067 GB, free: 6.434 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/1.08, allocations: 3.938 kB / 1.067 GB, free: 6.43 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001349/1.082, allocations: 1.249 MB / 1.069 GB, free: 6.055 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005008/1.087, allocations: 3.767 MB / 1.072 GB, free: 4.406 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/1.087, allocations: 10.12 kB / 1.072 GB, free: 4.406 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/1.088, allocations: 243.9 kB / 1.073 GB, free: 4.398 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.678e-05/1.088, allocations: 22.7 kB / 1.073 GB, free: 4.395 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-05/1.088, allocations: 36.84 kB / 1.073 GB, free: 4.379 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/1.088, allocations: 17.88 kB / 1.073 GB, free: 4.379 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.088, allocations: 18.22 kB / 1.073 GB, free: 4.379 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/1.091, allocations: 2.14 MB / 1.075 GB, free: 3.125 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000561/1.091, allocations: 369.5 kB / 1.075 GB, free: 2.875 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/1.091, allocations: 41.89 kB / 1.075 GB, free: 2.855 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/1.092, allocations: 50.81 kB / 1.075 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/1.092, allocations: 97.73 kB / 1.075 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.932e-05/1.093, allocations: 48.62 kB / 1.075 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001037/1.094, allocations: 0.8587 MB / 1.076 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/1.094, allocations: 3.938 kB / 1.076 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00119/1.095, allocations: 432 kB / 1.077 GB, free: 2.434 MB / 0.7637 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.003244/1.098, allocations: 2.816 MB / 1.079 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002003/1.1, allocations: 1.243 MB / 1.081 GB, free: 124 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/1.1, allocations: 8.531 kB / 1.081 GB, free: 120 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007441/1.101, allocations: 0.5509 MB / 1.081 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003887/1.105, allocations: 0.9223 MB / 1.082 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0181/1.123, allocations: 12.73 MB / 1.094 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/1.124, allocations: 1.372 MB / 1.096 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001415/1.125, allocations: 385.3 kB / 1.096 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009229/1.126, allocations: 0.6438 MB / 1.097 GB, free: 80 kB / 0.7794 GB Notification: Performance of SimCode: time 6.52e-07/1.126, allocations: 3.938 kB / 1.097 GB, free: 76 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08551/1.212, allocations: 43.26 MB / 1.139 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.24/16.45, allocations: 14.52 kB / 1.139 GB, free: 5.5 MB / 0.8262 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_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_MoistureMixingConservationDynamicBalance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)