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.001691/0.001691, 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.001833/0.001834, allocations: 192.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.341/1.341, allocations: 205.1 MB / 222.5 MB, free: 4.605 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.603/1.603, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001416/0.001416, allocations: 77.52 kB / 0.6718 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2145, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.631/0.8456, allocations: 222.6 MB / 1.001 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0168/0.8624, allocations: 12.05 MB / 1.013 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002919/0.8654, allocations: 68.53 kB / 1.013 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002468/0.8679, allocations: 0.8525 MB / 1.014 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008255/0.8762, allocations: 2.853 MB / 1.016 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004283/0.8805, allocations: 1.413 MB / 1.018 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006994/0.8875, allocations: 4.412 MB / 1.022 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002922/0.8905, allocations: 1.692 MB / 1.024 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006295/0.8968, allocations: 2.461 MB / 1.026 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003379/0.9002, allocations: 1.547 MB / 1.028 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005404/0.9008, allocations: 182.1 kB / 1.028 GB, free: 7.656 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00539/0.9062, allocations: 2.162 MB / 1.03 GB, free: 6.508 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.9073, allocations: 0.7006 MB / 1.031 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00187/0.9092, allocations: 1.042 MB / 1.032 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005675/0.9149, allocations: 3.317 MB / 1.035 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.9149, allocations: 0 / 1.035 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of FrontEnd: time 5.07e-06/0.9149, allocations: 0 / 1.035 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.819e-05/0.915, allocations: 3.938 kB / 1.035 GB, free: 3.148 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.004454/0.9194, allocations: 2.267 MB / 1.037 GB, free: 1.508 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.9195, allocations: 14.41 kB / 1.037 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002347/0.9197, allocations: 209.3 kB / 1.037 GB, free: 1.34 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002942/0.9227, allocations: 0.491 MB / 1.038 GB, free: 1.113 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.9249, allocations: 1.311 MB / 1.039 GB, free: 148 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.24e-05/0.925, allocations: 115.1 kB / 1.039 GB, free: 92 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.9252, allocations: 151.4 kB / 1.039 GB, free: 36 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/0.9278, allocations: 1.756 MB / 1.041 GB, free: 14.87 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.9278, allocations: 6.156 kB / 1.041 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.928, allocations: 59.12 kB / 1.041 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.577e-05/0.928, allocations: 53.94 kB / 1.041 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.93, allocations: 1.393 MB / 1.043 GB, free: 13.84 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.008427/0.9385, allocations: 7.266 MB / 1.05 GB, free: 6.199 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.9399, allocations: 1.026 MB / 1.051 GB, free: 5.129 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008563/0.9408, allocations: 0.6945 MB / 1.051 GB, free: 4.422 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/0.941, allocations: 118.2 kB / 1.051 GB, free: 4.289 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.941, allocations: 51.55 kB / 1.051 GB, free: 4.23 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001102/0.9421, allocations: 306.5 kB / 1.052 GB, free: 3.93 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=106): time 4.919e-06/0.9422, allocations: 3.938 kB / 1.052 GB, free: 3.926 MB / 0.7637 GB Notification: Performance of matching and sorting (n=112): time 0.007519/0.9497, allocations: 4.418 MB / 1.056 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.971e-05/0.9498, allocations: 175.2 kB / 1.056 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.9513, allocations: 1.238 MB / 1.057 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.9514, allocations: 53.7 kB / 1.058 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004728/0.9519, allocations: 0.6928 MB / 1.058 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003244/0.9522, allocations: 402.2 kB / 1.059 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003604/0.9526, allocations: 267.5 kB / 1.059 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.9527, allocations: 353.9 kB / 1.059 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007428/0.9535, allocations: 0.527 MB / 1.06 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.9545, allocations: 0.8586 MB / 1.061 GB, free: 10.68 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.01058/0.9651, allocations: 4.778 MB / 1.065 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.9651, allocations: 4 kB / 1.065 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002694/0.9678, allocations: 1.616 MB / 1.067 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.9679, allocations: 8 kB / 1.067 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.9679, allocations: 8 kB / 1.067 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/0.9679, allocations: 16 kB / 1.067 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.969, allocations: 295.5 kB / 1.067 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/0.9691, allocations: 20.02 kB / 1.067 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.9704, allocations: 58.92 kB / 1.067 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.9705, allocations: 67.97 kB / 1.067 GB, free: 3.652 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.0007152/0.9713, allocations: 425.3 kB / 1.068 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003833/0.9717, allocations: 158.1 kB / 1.068 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.9738, allocations: 1.286 MB / 1.069 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.9738, allocations: 15.94 kB / 1.069 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.9738, allocations: 0 / 1.069 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001478/0.9753, allocations: 1.244 MB / 1.07 GB, free: 456 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006146/0.9814, allocations: 3.761 MB / 1.074 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/0.9815, allocations: 8 kB / 1.074 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.9826, allocations: 259.6 kB / 1.074 GB, free: 12.22 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.109e-05/0.9827, allocations: 12 kB / 1.074 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-05/0.9828, allocations: 36 kB / 1.074 GB, free: 12.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-05/0.9828, allocations: 23.92 kB / 1.074 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/0.9828, allocations: 16.38 kB / 1.074 GB, free: 12.14 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002869/0.9857, allocations: 2.222 MB / 1.076 GB, free: 9.754 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008519/0.9866, allocations: 358.9 kB / 1.077 GB, free: 9.383 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003678/0.987, allocations: 35.98 kB / 1.077 GB, free: 9.348 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.9882, allocations: 51.25 kB / 1.077 GB, free: 9.301 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.9884, allocations: 96.31 kB / 1.077 GB, free: 9.207 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.9885, allocations: 51.98 kB / 1.077 GB, free: 9.156 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001363/0.9899, allocations: 0.8484 MB / 1.078 GB, free: 8.309 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9899, allocations: 0 / 1.078 GB, free: 8.309 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001918/0.9918, allocations: 428 kB / 1.078 GB, free: 7.891 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.00386/0.9957, allocations: 2.897 MB / 1.081 GB, free: 4.848 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002239/0.9979, allocations: 1.249 MB / 1.082 GB, free: 3.598 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/0.998, allocations: 4 kB / 1.082 GB, free: 3.594 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008298/0.9988, allocations: 0.5526 MB / 1.083 GB, free: 3.043 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004876/1.004, allocations: 0.9237 MB / 1.084 GB, free: 2.145 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/1.022, allocations: 12.6 MB / 1.096 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/1.024, allocations: 1.372 MB / 1.097 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001524/1.025, allocations: 381.2 kB / 1.098 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009741/1.026, allocations: 0.6399 MB / 1.098 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of SimCode: time 1.122e-06/1.026, allocations: 3.938 kB / 1.098 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08525/1.112, allocations: 42.85 MB / 1.14 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.61, allocations: 1.625 kB / 1.14 GB, free: 8.156 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)