Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_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.001053/0.001053, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 188.3 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.1 MB / 222.5 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.671/1.671, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 70.11 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2658, allocations: 114.6 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.764/1.03, allocations: 222.6 MB / 1.001 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01758/1.048, allocations: 12.04 MB / 1.013 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00363/1.051, allocations: 70.09 kB / 1.013 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00283/1.054, allocations: 0.8552 MB / 1.014 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00836/1.062, allocations: 2.848 MB / 1.016 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004392/1.067, allocations: 1.418 MB / 1.018 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006806/1.074, allocations: 4.407 MB / 1.022 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002544/1.076, allocations: 1.688 MB / 1.024 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006549/1.083, allocations: 2.461 MB / 1.026 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003515/1.086, allocations: 1.551 MB / 1.028 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003777/1.087, allocations: 177.8 kB / 1.028 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004881/1.092, allocations: 2.166 MB / 1.03 GB, free: 6.566 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007498/1.092, allocations: 0.6977 MB / 1.031 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00142/1.094, allocations: 1.042 MB / 1.032 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005514/1.099, allocations: 3.326 MB / 1.035 GB, free: 3.203 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.099, allocations: 0 / 1.035 GB, free: 3.203 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.824e-06/1.099, allocations: 3.938 kB / 1.035 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.433e-05/1.099, allocations: 0 / 1.035 GB, free: 3.199 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.00378/1.103, allocations: 2.263 MB / 1.037 GB, free: 1.562 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/1.103, allocations: 10.03 kB / 1.037 GB, free: 1.562 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002392/1.104, allocations: 211.6 kB / 1.037 GB, free: 1.398 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002895/1.106, allocations: 0.4899 MB / 1.038 GB, free: 1.172 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/1.109, allocations: 1.318 MB / 1.039 GB, free: 200 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.036e-05/1.109, allocations: 115.6 kB / 1.039 GB, free: 144 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/1.109, allocations: 147.6 kB / 1.039 GB, free: 92 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002482/1.111, allocations: 1.755 MB / 1.041 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.651e-05/1.111, allocations: 6.438 kB / 1.041 GB, free: 14.92 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/1.111, allocations: 63.38 kB / 1.041 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.205e-05/1.112, allocations: 50.2 kB / 1.041 GB, free: 14.87 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/1.114, allocations: 1.39 MB / 1.043 GB, free: 13.9 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.008269/1.122, allocations: 7.269 MB / 1.05 GB, free: 6.25 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/1.123, allocations: 1.027 MB / 1.051 GB, free: 5.18 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000884/1.124, allocations: 0.6983 MB / 1.051 GB, free: 4.469 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/1.124, allocations: 110.1 kB / 1.051 GB, free: 4.344 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/1.124, allocations: 47.56 kB / 1.051 GB, free: 4.289 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001126/1.126, allocations: 310.7 kB / 1.052 GB, free: 3.984 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=106): time 2.815e-06/1.126, allocations: 0 / 1.052 GB, free: 3.984 MB / 0.7637 GB Notification: Performance of matching and sorting (n=112): time 0.007503/1.133, allocations: 4.414 MB / 1.056 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.83e-05/1.133, allocations: 183.3 kB / 1.056 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/1.135, allocations: 1.242 MB / 1.057 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.275e-05/1.135, allocations: 53.7 kB / 1.058 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004898/1.135, allocations: 0.6928 MB / 1.058 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003445/1.136, allocations: 394.2 kB / 1.059 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003766/1.136, allocations: 267.3 kB / 1.059 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.136, allocations: 357.9 kB / 1.059 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007897/1.137, allocations: 0.5288 MB / 1.06 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009863/1.138, allocations: 0.8469 MB / 1.061 GB, free: 10.75 MB / 0.7794 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.01068/1.149, allocations: 4.792 MB / 1.065 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/1.149, allocations: 0 / 1.065 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.0025/1.151, allocations: 1.616 MB / 1.067 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/1.151, allocations: 12 kB / 1.067 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/1.151, allocations: 11.98 kB / 1.067 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/1.151, allocations: 12 kB / 1.067 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/1.152, allocations: 291.5 kB / 1.067 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.391e-05/1.152, allocations: 23.92 kB / 1.067 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/1.154, allocations: 47.89 kB / 1.067 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.83e-05/1.154, allocations: 59.98 kB / 1.067 GB, free: 3.723 MB / 0.7794 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.0007151/1.155, allocations: 440.2 kB / 1.068 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003151/1.155, allocations: 162.1 kB / 1.068 GB, free: 3.121 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/1.157, allocations: 1.283 MB / 1.069 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/1.157, allocations: 15.94 kB / 1.069 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.157, allocations: 4 kB / 1.069 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001416/1.158, allocations: 1.241 MB / 1.07 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005383/1.164, allocations: 3.747 MB / 1.074 GB, free: 12.55 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/1.164, allocations: 16.06 kB / 1.074 GB, free: 12.54 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/1.165, allocations: 255.6 kB / 1.074 GB, free: 12.29 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.656e-05/1.165, allocations: 16 kB / 1.074 GB, free: 12.27 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.676e-05/1.165, allocations: 40.55 kB / 1.074 GB, free: 12.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.391e-05/1.165, allocations: 15.94 kB / 1.074 GB, free: 12.22 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.639e-06/1.165, allocations: 15.94 kB / 1.074 GB, free: 12.2 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/1.168, allocations: 2.222 MB / 1.076 GB, free: 9.82 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006712/1.168, allocations: 358.9 kB / 1.077 GB, free: 9.449 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/1.169, allocations: 40.55 kB / 1.077 GB, free: 9.41 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/1.17, allocations: 51.33 kB / 1.077 GB, free: 9.363 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/1.17, allocations: 104.3 kB / 1.077 GB, free: 9.262 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.932e-05/1.17, allocations: 47.98 kB / 1.077 GB, free: 9.215 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00104/1.171, allocations: 0.8406 MB / 1.078 GB, free: 8.375 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/1.171, allocations: 0 / 1.078 GB, free: 8.375 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00136/1.172, allocations: 436 kB / 1.078 GB, free: 7.949 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],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.003289/1.176, allocations: 2.901 MB / 1.081 GB, free: 4.902 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002029/1.178, allocations: 1.254 MB / 1.082 GB, free: 3.648 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.178, allocations: 0 / 1.082 GB, free: 3.648 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0007283/1.178, allocations: 0.5604 MB / 1.083 GB, free: 3.09 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004102/1.183, allocations: 0.9199 MB / 1.084 GB, free: 2.191 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/1.2, allocations: 12.59 MB / 1.096 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009345/1.201, allocations: 1.372 MB / 1.097 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001453/1.202, allocations: 381.2 kB / 1.098 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000839/1.203, allocations: 0.6399 MB / 1.098 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of SimCode: time 1.403e-06/1.203, allocations: 0 / 1.098 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07411/1.277, allocations: 42.86 MB / 1.14 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.85, allocations: 4.062 kB / 1.14 GB, free: 8.211 MB / 0.8575 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)