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.0008815/0.0008815, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005843/0.005843, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.317/1.317, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.611/1.611, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005465/0.0005464, allocations: 14.19 kB / 0.6744 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1896, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5474/0.737, allocations: 217.3 MB / 1 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01368/0.7507, allocations: 12.01 MB / 1.012 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.7523, allocations: 63.41 kB / 1.012 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.7539, allocations: 0.717 MB / 1.013 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005675/0.7596, allocations: 2.678 MB / 1.015 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.7622, allocations: 1.267 MB / 1.017 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005087/0.7673, allocations: 6.041 MB / 1.022 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.7689, allocations: 1.431 MB / 1.024 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004008/0.7729, allocations: 2.138 MB / 1.026 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002491/0.7754, allocations: 1.52 MB / 1.027 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.7755, allocations: 76.94 kB / 1.028 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003741/0.7793, allocations: 2.45 MB / 1.03 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005248/0.7798, allocations: 0.5865 MB / 1.03 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008198/0.7807, allocations: 0.9292 MB / 1.031 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003273/0.7839, allocations: 3.273 MB / 1.035 GB, free: 8.855 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.7839, allocations: 0 / 1.035 GB, free: 8.855 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.293e-06/0.784, allocations: 0 / 1.035 GB, free: 8.855 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.015e-05/0.784, allocations: 1.719 kB / 1.035 GB, free: 8.855 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.002688/0.7867, allocations: 1.884 MB / 1.036 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.7867, allocations: 7.531 kB / 1.036 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002141/0.7869, allocations: 211.4 kB / 1.037 GB, free: 7.312 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002965/0.7899, allocations: 0.4953 MB / 1.037 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.7915, allocations: 1.242 MB / 1.038 GB, free: 6.176 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.3e-05/0.7916, allocations: 108.5 kB / 1.038 GB, free: 6.125 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.7918, allocations: 150.1 kB / 1.039 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.794, allocations: 1.755 MB / 1.04 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.794, allocations: 3.094 kB / 1.04 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.7941, allocations: 61.56 kB / 1.04 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.653e-05/0.7942, allocations: 59.72 kB / 1.04 GB, free: 4.855 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.796, allocations: 1.386 MB / 1.042 GB, free: 4.164 MB / 0.7481 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.006679/0.8027, allocations: 7.304 MB / 1.049 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.804, allocations: 1.025 MB / 1.05 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000837/0.8048, allocations: 0.6983 MB / 1.051 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/0.805, allocations: 106.1 kB / 1.051 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.805, allocations: 51.56 kB / 1.051 GB, free: 11.63 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008896/0.8059, allocations: 309.1 kB / 1.051 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=106): time 2.265e-06/0.8059, allocations: 0 / 1.051 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of matching and sorting (n=112): time 0.00609/0.812, allocations: 4.285 MB / 1.055 GB, free: 6.965 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.8121, allocations: 179.1 kB / 1.055 GB, free: 6.754 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.8134, allocations: 1.246 MB / 1.057 GB, free: 5.496 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.197e-05/0.8135, allocations: 53.7 kB / 1.057 GB, free: 5.438 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000443/0.8139, allocations: 0.6915 MB / 1.057 GB, free: 4.742 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/0.8142, allocations: 398.4 kB / 1.058 GB, free: 4.355 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.8144, allocations: 125.6 kB / 1.058 GB, free: 4.227 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.8145, allocations: 353.9 kB / 1.058 GB, free: 3.875 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007257/0.8152, allocations: 0.5232 MB / 1.059 GB, free: 3.352 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009172/0.8162, allocations: 0.8352 MB / 1.059 GB, free: 2.395 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.009993/0.8262, allocations: 4.749 MB / 1.064 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.8262, allocations: 0 / 1.064 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002076/0.8282, allocations: 1.596 MB / 1.066 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.8283, allocations: 8 kB / 1.066 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.8283, allocations: 15.98 kB / 1.066 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.8283, allocations: 16 kB / 1.066 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.8293, allocations: 287.5 kB / 1.066 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.8294, allocations: 20.48 kB / 1.066 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.8306, allocations: 102.5 kB / 1.066 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-05/0.8307, allocations: 59.98 kB / 1.066 GB, free: 11.38 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 sytem: 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.0005229/0.8312, allocations: 425.3 kB / 1.067 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/0.8314, allocations: 158.1 kB / 1.067 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.8333, allocations: 1.271 MB / 1.068 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.8333, allocations: 19.88 kB / 1.068 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.8333, allocations: 0 / 1.068 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001341/0.8347, allocations: 1.236 MB / 1.069 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004666/0.8393, allocations: 3.74 MB / 1.073 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.8394, allocations: 8 kB / 1.073 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.8404, allocations: 259.6 kB / 1.073 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.8404, allocations: 16 kB / 1.073 GB, free: 4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-05/0.8405, allocations: 39.98 kB / 1.073 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/0.8405, allocations: 16.02 kB / 1.073 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/0.8405, allocations: 20.3 kB / 1.073 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.8429, allocations: 2.187 MB / 1.075 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/0.8433, allocations: 362.9 kB / 1.076 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.8435, allocations: 39.98 kB / 1.076 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.8445, allocations: 94.66 kB / 1.076 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.8447, allocations: 96.31 kB / 1.076 GB, free: 0.9883 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.165e-05/0.8447, allocations: 55.98 kB / 1.076 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000868/0.8456, allocations: 0.8445 MB / 1.077 GB, free: 92 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8456, allocations: 0 / 1.077 GB, free: 92 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001035/0.8467, allocations: 429.5 kB / 1.077 GB, free: 15.67 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.002839/0.8495, allocations: 2.868 MB / 1.08 GB, free: 12.65 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001545/0.8511, allocations: 1.216 MB / 1.081 GB, free: 11.44 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.8511, allocations: 4 kB / 1.081 GB, free: 11.43 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006539/0.8517, allocations: 0.5407 MB / 1.082 GB, free: 10.89 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005325/0.8571, allocations: 0.9048 MB / 1.083 GB, free: 10 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01605/0.8731, allocations: 14.27 MB / 1.097 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008242/0.874, allocations: 1.372 MB / 1.098 GB, free: 9.402 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001143/0.8751, allocations: 381.2 kB / 1.098 GB, free: 9.023 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007676/0.8759, allocations: 0.6399 MB / 1.099 GB, free: 8.383 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.8759, allocations: 0 / 1.099 GB, free: 8.383 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.414/3.29, allocations: 40.8 MB / 1.139 GB, free: 148 kB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002774/3.29, allocations: 289.1 kB / 1.139 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.156/6.446, allocations: 2.969 kB / 1.139 GB, free: 15.75 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)