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.001436/0.001436, allocations: 108 kB / 15.61 MB, free: 128 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.001932/0.001932, allocations: 197.5 kB / 16.53 MB, free: 6.672 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.795/1.795, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.91/1.91, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.002308/0.002308, allocations: 67.05 kB / 0.6716 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2783, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.7968/1.075, allocations: 222.6 MB / 1.001 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01954/1.095, allocations: 12.05 MB / 1.013 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003982/1.099, allocations: 68.38 kB / 1.013 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004365/1.103, allocations: 0.8605 MB / 1.013 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01289/1.116, allocations: 2.844 MB / 1.016 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004977/1.121, allocations: 1.417 MB / 1.018 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007248/1.128, allocations: 4.397 MB / 1.022 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002691/1.131, allocations: 1.693 MB / 1.024 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006735/1.138, allocations: 2.452 MB / 1.026 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003371/1.141, allocations: 1.547 MB / 1.028 GB, free: 7.84 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004449/1.142, allocations: 180.9 kB / 1.028 GB, free: 7.84 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005224/1.147, allocations: 2.167 MB / 1.03 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000883/1.148, allocations: 0.7015 MB / 1.03 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001441/1.149, allocations: 1.039 MB / 1.031 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005447/1.155, allocations: 3.269 MB / 1.035 GB, free: 3.359 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.966e-06/1.155, allocations: 2.125 kB / 1.035 GB, free: 3.359 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.655e-06/1.155, allocations: 0 / 1.035 GB, free: 3.359 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.663e-05/1.155, allocations: 0 / 1.035 GB, free: 3.359 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.004318/1.159, allocations: 2.268 MB / 1.037 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/1.159, allocations: 7.625 kB / 1.037 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002352/1.16, allocations: 207.2 kB / 1.037 GB, free: 1.559 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002983/1.163, allocations: 0.4957 MB / 1.038 GB, free: 1.328 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001974/1.165, allocations: 1.231 MB / 1.039 GB, free: 408 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.076e-05/1.165, allocations: 114.6 kB / 1.039 GB, free: 352 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/1.165, allocations: 153.6 kB / 1.039 GB, free: 296 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/1.167, allocations: 1.752 MB / 1.041 GB, free: 15.13 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/1.167, allocations: 6.219 kB / 1.041 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/1.168, allocations: 62.78 kB / 1.041 GB, free: 15.08 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.504e-05/1.168, allocations: 50.05 kB / 1.041 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002152/1.17, allocations: 1.394 MB / 1.042 GB, free: 14.14 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.008809/1.179, allocations: 7.316 MB / 1.049 GB, free: 6.449 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/1.18, allocations: 1.026 MB / 1.05 GB, free: 5.379 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009089/1.181, allocations: 0.6945 MB / 1.051 GB, free: 4.672 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/1.181, allocations: 114.2 kB / 1.051 GB, free: 4.543 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/1.181, allocations: 55.5 kB / 1.051 GB, free: 4.48 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00147/1.183, allocations: 302.5 kB / 1.052 GB, free: 4.184 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=106): time 4.879e-06/1.183, allocations: 4 kB / 1.052 GB, free: 4.18 MB / 0.7637 GB Notification: Performance of matching and sorting (n=112): time 0.008057/1.191, allocations: 4.414 MB / 1.056 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/1.191, allocations: 179.1 kB / 1.056 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/1.193, allocations: 1.238 MB / 1.057 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001/1.193, allocations: 53.7 kB / 1.057 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005037/1.193, allocations: 0.7007 MB / 1.058 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003418/1.194, allocations: 398.2 kB / 1.058 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000371/1.194, allocations: 267.3 kB / 1.059 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.194, allocations: 353.9 kB / 1.059 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000763/1.195, allocations: 0.5231 MB / 1.059 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/1.196, allocations: 0.8508 MB / 1.06 GB, free: 10.95 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.01081/1.207, allocations: 4.8 MB / 1.065 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.207, allocations: 4 kB / 1.065 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002517/1.209, allocations: 1.616 MB / 1.067 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/1.209, allocations: 8 kB / 1.067 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/1.209, allocations: 12.84 kB / 1.067 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/1.209, allocations: 16 kB / 1.067 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.21, allocations: 299.5 kB / 1.067 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.412e-05/1.21, allocations: 19.88 kB / 1.067 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/1.212, allocations: 51.88 kB / 1.067 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.872e-05/1.212, allocations: 59.98 kB / 1.067 GB, free: 3.902 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.0006532/1.213, allocations: 417.3 kB / 1.067 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003053/1.213, allocations: 170 kB / 1.068 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/1.215, allocations: 1.291 MB / 1.069 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/1.215, allocations: 12 kB / 1.069 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/1.215, allocations: 3.938 kB / 1.069 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001502/1.216, allocations: 1.241 MB / 1.07 GB, free: 0.6875 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005581/1.222, allocations: 3.754 MB / 1.074 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.222, allocations: 8 kB / 1.074 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/1.223, allocations: 259.7 kB / 1.074 GB, free: 12.47 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.932e-05/1.223, allocations: 19.94 kB / 1.074 GB, free: 12.45 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.287e-05/1.223, allocations: 32 kB / 1.074 GB, free: 12.42 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.609e-05/1.223, allocations: 23.92 kB / 1.074 GB, free: 12.4 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/1.223, allocations: 15.94 kB / 1.074 GB, free: 12.38 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/1.226, allocations: 2.214 MB / 1.076 GB, free: 10.01 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005942/1.227, allocations: 362.9 kB / 1.077 GB, free: 9.633 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/1.227, allocations: 35.94 kB / 1.077 GB, free: 9.598 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/1.228, allocations: 51.25 kB / 1.077 GB, free: 9.551 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/1.228, allocations: 96.31 kB / 1.077 GB, free: 9.457 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.091e-05/1.228, allocations: 59.97 kB / 1.077 GB, free: 9.398 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001002/1.229, allocations: 0.8406 MB / 1.078 GB, free: 8.559 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/1.229, allocations: 0 / 1.078 GB, free: 8.559 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001326/1.231, allocations: 436 kB / 1.078 GB, free: 8.133 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.003342/1.234, allocations: 2.895 MB / 1.081 GB, free: 5.09 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002358/1.236, allocations: 1.434 MB / 1.082 GB, free: 3.656 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/1.236, allocations: 8.125 kB / 1.082 GB, free: 3.648 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0007213/1.237, allocations: 0.5484 MB / 1.083 GB, free: 3.102 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003946/1.241, allocations: 0.9335 MB / 1.084 GB, free: 2.199 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/1.258, allocations: 13.66 MB / 1.097 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009086/1.259, allocations: 1.368 MB / 1.098 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001643/1.261, allocations: 381.2 kB / 1.099 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000869/1.261, allocations: 0.6437 MB / 1.099 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of SimCode: time 7.21e-07/1.261, allocations: 0 / 1.099 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08676/1.348, allocations: 42.86 MB / 1.141 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.809/10.16, allocations: 4.719 kB / 1.141 GB, free: 6.867 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)