Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.945/2.945, allocations: 287.5 MB / 302.4 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001444/0.001444, allocations: 189.2 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.291/2.291, allocations: 205.4 MB / 0.6297 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009168/0.0009167, allocations: 92.33 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005306/0.0005308, allocations: 11.64 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2474, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 1.064/1.311, allocations: 202.8 MB / 1.176 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02939/1.341, allocations: 11.3 MB / 1.187 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00387/1.344, allocations: 61.47 kB / 1.188 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003479/1.348, allocations: 0.5811 MB / 1.188 GB, free: 12 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01068/1.359, allocations: 2.098 MB / 1.19 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.005585/1.364, allocations: 1.024 MB / 1.191 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01032/1.375, allocations: 5.096 MB / 1.196 GB, free: 6.625 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003737/1.379, allocations: 1.3 MB / 1.197 GB, free: 5.828 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008064/1.387, allocations: 1.925 MB / 1.199 GB, free: 4.73 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00443/1.391, allocations: 1.44 MB / 1.201 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0008858/1.392, allocations: 80.53 kB / 1.201 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006304/1.398, allocations: 1.058 MB / 1.202 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001785/1.4, allocations: 0.5887 MB / 1.202 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001444/1.402, allocations: 379.3 kB / 1.203 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005929/1.408, allocations: 2.244 MB / 1.205 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/1.408, allocations: 0 / 1.205 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.396e-06/1.408, allocations: 0 / 1.205 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001163/1.408, allocations: 0 / 1.205 GB, free: 1.352 MB / 0.7292 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.006797/1.415, allocations: 1.907 MB / 1.207 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/1.415, allocations: 10.59 kB / 1.207 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000939/1.416, allocations: 206.9 kB / 1.207 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005198/1.421, allocations: 0.495 MB / 1.207 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004281/1.425, allocations: 1.181 MB / 1.209 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/1.426, allocations: 110.9 kB / 1.209 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005284/1.426, allocations: 143.7 kB / 1.209 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005344/1.432, allocations: 1.745 MB / 1.211 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.228e-05/1.432, allocations: 14.7 kB / 1.211 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000258/1.432, allocations: 59.5 kB / 1.211 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.845e-05/1.432, allocations: 54.05 kB / 1.211 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004701/1.437, allocations: 1.386 MB / 1.212 GB, free: 12.51 MB / 0.7448 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.01727/1.454, allocations: 7.289 MB / 1.219 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/1.457, allocations: 1.015 MB / 1.22 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001872/1.459, allocations: 0.6867 MB / 1.221 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000431/1.459, allocations: 122.2 kB / 1.221 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.953e-05/1.46, allocations: 51.5 kB / 1.221 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002408/1.462, allocations: 306.5 kB / 1.221 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=106): time 1.078e-05/1.462, allocations: 0 / 1.221 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of matching and sorting (n=112): time 0.0148/1.477, allocations: 4.275 MB / 1.225 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/1.477, allocations: 167.2 kB / 1.226 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002846/1.48, allocations: 1.242 MB / 1.227 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003951/1.48, allocations: 49.7 kB / 1.227 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008866/1.481, allocations: 0.6966 MB / 1.228 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008122/1.482, allocations: 406.2 kB / 1.228 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/1.482, allocations: 28 kB / 1.228 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002025/1.482, allocations: 353.9 kB / 1.228 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/1.484, allocations: 0.5075 MB / 1.229 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002122/1.486, allocations: 0.843 MB / 1.23 GB, free: 9.766 MB / 0.7605 GB 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) 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01965/1.506, allocations: 3.457 MB / 1.233 GB, free: 6.262 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/1.506, allocations: 4 kB / 1.233 GB, free: 6.258 MB / 0.7605 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005091/1.511, allocations: 1.589 MB / 1.235 GB, free: 4.664 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/1.511, allocations: 11.95 kB / 1.235 GB, free: 4.652 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.928e-05/1.511, allocations: 15.98 kB / 1.235 GB, free: 4.637 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.361e-05/1.511, allocations: 19.94 kB / 1.235 GB, free: 4.617 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002517/1.514, allocations: 295.5 kB / 1.235 GB, free: 4.328 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-05/1.514, allocations: 15.94 kB / 1.235 GB, free: 4.312 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003059/1.517, allocations: 99.67 kB / 1.235 GB, free: 4.215 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003523/1.517, allocations: 63.97 kB / 1.235 GB, free: 4.152 MB / 0.7605 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001485/1.519, allocations: 421.3 kB / 1.235 GB, free: 3.73 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007139/1.52, allocations: 162 kB / 1.236 GB, free: 3.57 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003876/1.524, allocations: 1.267 MB / 1.237 GB, free: 2.281 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.724e-05/1.524, allocations: 12 kB / 1.237 GB, free: 2.27 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/1.524, allocations: 7.922 kB / 1.237 GB, free: 2.262 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002999/1.527, allocations: 1.221 MB / 1.238 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/1.538, allocations: 3.738 MB / 1.242 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/1.538, allocations: 8 kB / 1.242 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002521/1.541, allocations: 255.6 kB / 1.242 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-05/1.541, allocations: 16 kB / 1.242 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002381/1.541, allocations: 36 kB / 1.242 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.097e-05/1.541, allocations: 23.92 kB / 1.242 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.588e-05/1.541, allocations: 11.94 kB / 1.242 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00542/1.547, allocations: 2.187 MB / 1.244 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/1.548, allocations: 355 kB / 1.245 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005256/1.549, allocations: 36 kB / 1.245 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002578/1.551, allocations: 101.7 kB / 1.245 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003483/1.552, allocations: 100.3 kB / 1.245 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001803/1.552, allocations: 51.98 kB / 1.245 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00206/1.554, allocations: 0.8289 MB / 1.246 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.21e-07/1.554, allocations: 0 / 1.246 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002817/1.557, allocations: 436 kB / 1.246 GB, free: 8.453 MB / 0.7761 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006478/1.564, allocations: 2.852 MB / 1.249 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003859/1.567, allocations: 1.199 MB / 1.25 GB, free: 4.25 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.088e-05/1.568, allocations: 4.219 kB / 1.25 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001565/1.569, allocations: 0.5445 MB / 1.251 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008571/1.578, allocations: 0.8914 MB / 1.251 GB, free: 2.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03141/1.609, allocations: 10.39 MB / 1.262 GB, free: 7.777 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001945/1.611, allocations: 1.376 MB / 1.263 GB, free: 6.371 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002921/1.614, allocations: 377.2 kB / 1.263 GB, free: 5.996 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00197/1.616, allocations: 0.6367 MB / 1.264 GB, free: 5.359 MB / 0.7917 GB Notification: Performance of SimCode: time 1.664e-06/1.616, allocations: 0 / 1.264 GB, free: 5.359 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1266/1.743, allocations: 42.16 MB / 1.305 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004448/1.743, allocations: 263.4 kB / 1.305 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.514/6.258, allocations: 0 / 1.305 GB, free: 11.3 MB / 0.8386 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)