Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007096/0.007096, allocations: 101.5 kB / 15.73 MB, free: 6.477 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.001568/0.001568, allocations: 192.6 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002037/0.002037, allocations: 287 kB / 290.8 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9555/0.9555, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 99.78 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1479, allocations: 86.98 MB / 0.7664 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.6134/0.7614, allocations: 222.6 MB / 0.9838 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01663/0.778, allocations: 12.11 MB / 0.9956 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002206/0.7803, allocations: 79.56 kB / 0.9957 GB, free: 7.805 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002064/0.7824, allocations: 0.8693 MB / 0.9965 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00644/0.7888, allocations: 2.855 MB / 0.9993 GB, free: 4.062 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00351/0.7924, allocations: 1.438 MB / 1.001 GB, free: 2.637 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006475/0.7989, allocations: 4.459 MB / 1.005 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002407/0.8013, allocations: 1.712 MB / 1.007 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005953/0.8073, allocations: 2.508 MB / 1.009 GB, free: 9.91 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003181/0.8105, allocations: 1.554 MB / 1.011 GB, free: 8.375 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003537/0.8108, allocations: 180 kB / 1.011 GB, free: 8.199 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004558/0.8154, allocations: 2.167 MB / 1.013 GB, free: 6.027 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0007186/0.8161, allocations: 0.7012 MB / 1.014 GB, free: 5.324 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001273/0.8174, allocations: 1.05 MB / 1.015 GB, free: 4.27 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004521/0.8219, allocations: 3.338 MB / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.822, allocations: 0 / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.743e-06/0.822, allocations: 0 / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.18e-05/0.822, allocations: 0 / 1.018 GB, free: 0.9219 MB / 0.7637 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.003617/0.8256, allocations: 2.276 MB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.8257, allocations: 12.03 kB / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003034/0.8287, allocations: 0.5011 MB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002039/0.8308, allocations: 1.337 MB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-05/0.8309, allocations: 114.7 kB / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.8311, allocations: 151.9 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/0.8337, allocations: 1.764 MB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.8337, allocations: 0 / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.8339, allocations: 60 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.845e-05/0.8339, allocations: 58.47 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/0.8361, allocations: 1.403 MB / 1.025 GB, free: 9.016 MB / 0.7794 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.007964/0.8441, allocations: 7.293 MB / 1.033 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.8456, allocations: 1.044 MB / 1.034 GB, free: 264 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009197/0.8466, allocations: 0.6985 MB / 1.034 GB, free: 15.55 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/0.8468, allocations: 118.1 kB / 1.034 GB, free: 15.41 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.8468, allocations: 47.56 kB / 1.034 GB, free: 15.36 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009842/0.8478, allocations: 302.5 kB / 1.035 GB, free: 15.06 MB / 0.795 GB Notification: Performance of pre-optimization done (n=106): time 2.925e-06/0.8478, allocations: 0 / 1.035 GB, free: 15.06 MB / 0.795 GB Notification: Performance of matching and sorting (n=112): time 0.007682/0.8555, allocations: 4.446 MB / 1.039 GB, free: 10.54 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.392e-05/0.8556, allocations: 175.3 kB / 1.039 GB, free: 10.33 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.8571, allocations: 1.259 MB / 1.04 GB, free: 9.059 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.387e-05/0.8573, allocations: 49.7 kB / 1.041 GB, free: 9.004 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004986/0.8578, allocations: 0.6969 MB / 1.041 GB, free: 8.301 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003228/0.8581, allocations: 398.2 kB / 1.042 GB, free: 7.906 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003932/0.8585, allocations: 267.3 kB / 1.042 GB, free: 7.637 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.8586, allocations: 365.9 kB / 1.042 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007648/0.8594, allocations: 0.5305 MB / 1.043 GB, free: 6.746 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009839/0.8604, allocations: 0.8563 MB / 1.044 GB, free: 5.766 MB / 0.795 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.01123/0.8716, allocations: 4.797 MB / 1.048 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.8717, allocations: 0 / 1.048 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002813/0.8745, allocations: 1.616 MB / 1.05 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.8745, allocations: 8 kB / 1.05 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.8745, allocations: 8 kB / 1.05 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.215e-05/0.8746, allocations: 16 kB / 1.05 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.8757, allocations: 291.5 kB / 1.05 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/0.8758, allocations: 20.44 kB / 1.05 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.8772, allocations: 63.16 kB / 1.05 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.8773, allocations: 63.97 kB / 1.05 GB, free: 14.73 MB / 0.8106 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.0007238/0.878, allocations: 420.8 kB / 1.051 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004547/0.8785, allocations: 158.1 kB / 1.051 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.8807, allocations: 1.295 MB / 1.052 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.8807, allocations: 16 kB / 1.052 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.8807, allocations: 0 / 1.052 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001528/0.8823, allocations: 1.256 MB / 1.053 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005939/0.8882, allocations: 3.75 MB / 1.057 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/0.8883, allocations: 11.98 kB / 1.057 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.8894, allocations: 247.6 kB / 1.057 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-05/0.8894, allocations: 12 kB / 1.057 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.061e-05/0.8895, allocations: 43.92 kB / 1.057 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.718e-05/0.8896, allocations: 19.94 kB / 1.057 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.497e-06/0.8896, allocations: 16.41 kB / 1.057 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002799/0.8924, allocations: 2.136 MB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006831/0.8931, allocations: 359 kB / 1.06 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003085/0.8934, allocations: 44.67 kB / 1.06 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.8946, allocations: 40.03 kB / 1.06 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.8948, allocations: 108.3 kB / 1.06 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.8949, allocations: 47.98 kB / 1.06 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001436/0.8964, allocations: 0.8529 MB / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8964, allocations: 4 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001403/0.8978, allocations: 428 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,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.0005441/0.8983, allocations: 252.6 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002085/0.9004, allocations: 1.247 MB / 1.063 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/0.9005, allocations: 4 kB / 1.063 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007835/0.9012, allocations: 0.5487 MB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00429/0.9055, allocations: 0.9342 MB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005184/0.9107, allocations: 3.391 MB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.9118, allocations: 1.384 MB / 1.069 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00131/0.9131, allocations: 385.3 kB / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004454/0.9136, allocations: 131.4 kB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.9136, allocations: 0 / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of Templates: time 0.3754/1.289, allocations: 30.64 MB / 1.099 GB, free: 288.4 MB / 0.8419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)