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.001152/0.001152, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001137/0.001137, allocations: 189.6 kB / 16.25 MB, free: 6.621 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.226/1.226, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.672/1.672, allocations: 292.3 MB / 0.5486 GB, free: 13.58 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.001445/0.001445, allocations: 77.52 kB / 0.6711 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.189, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5543/0.7433, allocations: 219.8 MB / 0.9976 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01298/0.7563, allocations: 11.96 MB / 1.009 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002098/0.7584, allocations: 62.84 kB / 1.009 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.7601, allocations: 0.7459 MB / 1.01 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005477/0.7657, allocations: 2.668 MB / 1.013 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.7682, allocations: 1.291 MB / 1.014 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003918/0.7722, allocations: 4.401 MB / 1.018 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.7739, allocations: 1.663 MB / 1.02 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00437/0.7782, allocations: 2.44 MB / 1.022 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002655/0.7809, allocations: 1.633 MB / 1.024 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002276/0.7812, allocations: 180.3 kB / 1.024 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003589/0.7847, allocations: 2.268 MB / 1.026 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005884/0.7853, allocations: 0.7069 MB / 1.027 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009105/0.7863, allocations: 1.037 MB / 1.028 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003546/0.7898, allocations: 3.41 MB / 1.031 GB, free: 8.59 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.7898, allocations: 4 kB / 1.031 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7898, allocations: 1.812 kB / 1.031 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.008e-05/0.7899, allocations: 0 / 1.031 GB, free: 8.586 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.00305/0.7929, allocations: 2.277 MB / 1.033 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.793, allocations: 10.25 kB / 1.033 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002158/0.7932, allocations: 205.5 kB / 1.034 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002825/0.796, allocations: 0.4893 MB / 1.034 GB, free: 6.574 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.7976, allocations: 1.242 MB / 1.035 GB, free: 5.664 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.268e-05/0.7977, allocations: 107.8 kB / 1.035 GB, free: 5.617 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.7979, allocations: 147.7 kB / 1.036 GB, free: 5.566 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.8002, allocations: 1.759 MB / 1.037 GB, free: 4.402 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/0.8002, allocations: 6.062 kB / 1.037 GB, free: 4.398 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.8004, allocations: 58.94 kB / 1.037 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.55e-05/0.8004, allocations: 57.88 kB / 1.037 GB, free: 4.344 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.8023, allocations: 1.392 MB / 1.039 GB, free: 3.648 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.006967/0.8093, allocations: 7.285 MB / 1.046 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.8105, allocations: 1.026 MB / 1.047 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008075/0.8113, allocations: 0.6986 MB / 1.048 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.8115, allocations: 106.7 kB / 1.048 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.8116, allocations: 55.19 kB / 1.048 GB, free: 12.33 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001049/0.8126, allocations: 319.3 kB / 1.048 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=106): time 2.826e-06/0.8126, allocations: 3.344 kB / 1.048 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of matching and sorting (n=112): time 0.007012/0.8196, allocations: 4.41 MB / 1.052 GB, free: 9.391 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.8197, allocations: 176.2 kB / 1.053 GB, free: 9.195 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.821, allocations: 1.244 MB / 1.054 GB, free: 8.309 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-05/0.8211, allocations: 49.7 kB / 1.054 GB, free: 8.254 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004461/0.8216, allocations: 0.6931 MB / 1.054 GB, free: 7.559 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002848/0.8219, allocations: 405 kB / 1.055 GB, free: 7.168 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/0.8222, allocations: 271.4 kB / 1.055 GB, free: 6.898 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.8223, allocations: 357.9 kB / 1.055 GB, free: 6.543 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007345/0.8231, allocations: 0.527 MB / 1.056 GB, free: 6.016 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009492/0.824, allocations: 0.843 MB / 1.057 GB, free: 5.047 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/0.8344, allocations: 4.8 MB / 1.062 GB, free: 92 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.8344, allocations: 4 kB / 1.062 GB, free: 88 kB / 0.7637 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002211/0.8366, allocations: 1.619 MB / 1.063 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.8367, allocations: 8 kB / 1.063 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.8367, allocations: 8 kB / 1.063 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.8367, allocations: 16 kB / 1.063 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.8378, allocations: 292.1 kB / 1.063 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/0.8378, allocations: 23.92 kB / 1.063 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.8391, allocations: 99.33 kB / 1.064 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.8392, allocations: 56.06 kB / 1.064 GB, free: 13.97 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.0006004/0.8398, allocations: 433.2 kB / 1.064 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.8401, allocations: 162.1 kB / 1.064 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.842, allocations: 1.29 MB / 1.065 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.842, allocations: 19.94 kB / 1.065 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.842, allocations: 5.375 kB / 1.065 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001386/0.8434, allocations: 1.233 MB / 1.067 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004874/0.8483, allocations: 3.75 MB / 1.07 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.8483, allocations: 12 kB / 1.07 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.8494, allocations: 256.4 kB / 1.071 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/0.8494, allocations: 16 kB / 1.071 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.216e-05/0.8495, allocations: 43.98 kB / 1.071 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.571e-05/0.8495, allocations: 15.94 kB / 1.071 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.8495, allocations: 15.94 kB / 1.071 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/0.852, allocations: 2.214 MB / 1.073 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004774/0.8525, allocations: 366.9 kB / 1.073 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/0.8527, allocations: 40.09 kB / 1.073 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.8538, allocations: 94.56 kB / 1.073 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.8539, allocations: 100.3 kB / 1.073 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.761e-05/0.854, allocations: 51.98 kB / 1.073 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009164/0.8549, allocations: 0.8484 MB / 1.074 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.273e-06/0.8549, allocations: 0 / 1.074 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00111/0.856, allocations: 439.9 kB / 1.075 GB, free: 2.16 MB / 0.7794 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.002967/0.859, allocations: 2.876 MB / 1.077 GB, free: 15.14 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002118/0.8611, allocations: 1.43 MB / 1.079 GB, free: 13.71 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.8612, allocations: 4.562 kB / 1.079 GB, free: 13.7 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0007068/0.8619, allocations: 0.5517 MB / 1.079 GB, free: 13.15 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0035/0.8654, allocations: 0.9288 MB / 1.08 GB, free: 12.26 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/0.8818, allocations: 14.23 MB / 1.094 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008245/0.8827, allocations: 1.368 MB / 1.096 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001359/0.884, allocations: 381.2 kB / 1.096 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008075/0.8849, allocations: 0.6321 MB / 1.097 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of SimCode: time 4.91e-07/0.8849, allocations: 0 / 1.097 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.838/3.723, allocations: 42.62 MB / 1.138 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002802/3.723, allocations: 279 kB / 1.138 GB, free: 300 kB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.31/7.033, allocations: 0 / 1.138 GB, free: 300 kB / 0.8419 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)