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.983/2.983, allocations: 287.3 MB / 302.3 MB, free: 8.293 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.002304/0.002303, allocations: 185 kB / 370.8 MB, free: 10.83 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.279/2.279, allocations: 205.4 MB / 0.6295 GB, free: 10.56 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.001161/0.00116, allocations: 98.72 kB / 0.7428 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005039/0.0005041, allocations: 16.75 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2372, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.9956/1.233, allocations: 183.3 MB / 1.157 GB, free: 3.75 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02841/1.261, allocations: 11.17 MB / 1.168 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003542/1.265, allocations: 53.44 kB / 1.168 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004941/1.27, allocations: 0.8937 MB / 1.169 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01362/1.284, allocations: 2.586 MB / 1.172 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.007998/1.292, allocations: 1.566 MB / 1.173 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007901/1.3, allocations: 2.532 MB / 1.176 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003862/1.304, allocations: 1.297 MB / 1.177 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006994/1.311, allocations: 1.645 MB / 1.178 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003183/1.314, allocations: 1.001 MB / 1.179 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0006323/1.315, allocations: 78.03 kB / 1.18 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005179/1.32, allocations: 0.9648 MB / 1.18 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001443/1.321, allocations: 0.5347 MB / 1.181 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001113/1.322, allocations: 380.7 kB / 1.181 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00552/1.328, allocations: 2.139 MB / 1.183 GB, free: 388 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/1.328, allocations: 0 / 1.183 GB, free: 388 kB / 0.7136 GB Notification: Performance of FrontEnd: time 3.266e-06/1.328, allocations: 0 / 1.183 GB, free: 388 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001128/1.328, allocations: 0 / 1.183 GB, free: 388 kB / 0.7136 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.006065/1.334, allocations: 1.87 MB / 1.185 GB, free: 15 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/1.334, allocations: 8.125 kB / 1.185 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007996/1.335, allocations: 210.3 kB / 1.185 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004867/1.34, allocations: 0.4955 MB / 1.186 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003923/1.344, allocations: 1.189 MB / 1.187 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/1.344, allocations: 110.3 kB / 1.187 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003834/1.345, allocations: 148.3 kB / 1.187 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004831/1.349, allocations: 1.737 MB / 1.189 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.082e-05/1.35, allocations: 14.25 kB / 1.189 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002508/1.35, allocations: 63.77 kB / 1.189 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.043e-05/1.35, allocations: 49.11 kB / 1.189 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00424/1.354, allocations: 1.386 MB / 1.191 GB, free: 11.7 MB / 0.7292 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.01594/1.37, allocations: 7.289 MB / 1.198 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/1.373, allocations: 1.014 MB / 1.199 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/1.373, allocations: 22.12 kB / 1.199 GB, free: 4.855 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.363e-05/1.373, allocations: 58.97 kB / 1.199 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0022/1.375, allocations: 311.3 kB / 1.199 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=106): time 7.485e-06/1.375, allocations: 0 / 1.199 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of matching and sorting (n=112): time 0.01381/1.389, allocations: 4.274 MB / 1.203 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/1.389, allocations: 173.1 kB / 1.203 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/1.392, allocations: 1.234 MB / 1.205 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003797/1.393, allocations: 53.7 kB / 1.205 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008448/1.393, allocations: 0.6928 MB / 1.205 GB, free: 124 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008021/1.394, allocations: 402.3 kB / 1.206 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/1.394, allocations: 28 kB / 1.206 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002126/1.395, allocations: 361.9 kB / 1.206 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/1.396, allocations: 0.5114 MB / 1.207 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/1.398, allocations: 0.8274 MB / 1.207 GB, free: 13.88 MB / 0.7448 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.01875/1.417, allocations: 3.46 MB / 1.211 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/1.417, allocations: 4 kB / 1.211 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004907/1.422, allocations: 1.584 MB / 1.212 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.562e-05/1.422, allocations: 19.88 kB / 1.212 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/1.422, allocations: 9.422 kB / 1.212 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.661e-05/1.422, allocations: 16 kB / 1.212 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002487/1.425, allocations: 287.5 kB / 1.213 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-05/1.425, allocations: 23.92 kB / 1.213 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/1.428, allocations: 91.78 kB / 1.213 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003295/1.428, allocations: 55.98 kB / 1.213 GB, free: 8.281 MB / 0.7448 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.001336/1.429, allocations: 433.9 kB / 1.213 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006524/1.43, allocations: 162 kB / 1.213 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003818/1.434, allocations: 1.271 MB / 1.215 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.182e-05/1.434, allocations: 16 kB / 1.215 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.434, allocations: 0 / 1.215 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002875/1.437, allocations: 1.225 MB / 1.216 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/1.448, allocations: 3.737 MB / 1.219 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/1.448, allocations: 8 kB / 1.219 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/1.451, allocations: 256.6 kB / 1.22 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-05/1.451, allocations: 20 kB / 1.22 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/1.451, allocations: 39.98 kB / 1.22 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.749e-05/1.451, allocations: 19.88 kB / 1.22 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.182e-05/1.451, allocations: 15.94 kB / 1.22 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005854/1.457, allocations: 2.843 MB / 1.223 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/1.458, allocations: 351.1 kB / 1.223 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004317/1.459, allocations: 39.98 kB / 1.223 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002321/1.461, allocations: 102.6 kB / 1.223 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002872/1.461, allocations: 104.3 kB / 1.223 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/1.462, allocations: 51.98 kB / 1.223 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001934/1.463, allocations: 0.8328 MB / 1.224 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.61e-07/1.463, allocations: 0 / 1.224 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002552/1.466, allocations: 428 kB / 1.224 GB, free: 11.47 MB / 0.7605 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.008475/1.475, allocations: 6.321 MB / 1.231 GB, free: 4.832 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004339/1.479, allocations: 1.204 MB / 1.232 GB, free: 3.629 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-05/1.479, allocations: 4 kB / 1.232 GB, free: 3.625 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001738/1.481, allocations: 0.5407 MB / 1.232 GB, free: 3.082 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008228/1.489, allocations: 0.8714 MB / 1.233 GB, free: 2.227 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/1.506, allocations: 10.37 MB / 1.243 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001898/1.508, allocations: 1.404 MB / 1.245 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002865/1.511, allocations: 377.1 kB / 1.245 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001946/1.513, allocations: 0.6399 MB / 1.246 GB, free: 5.051 MB / 0.7761 GB Notification: Performance of SimCode: time 2.184e-06/1.513, allocations: 0 / 1.246 GB, free: 5.051 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1527/1.666, allocations: 41.29 MB / 1.286 GB, free: 12.22 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004657/1.666, allocations: 260.1 kB / 1.286 GB, free: 11.88 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.313/5.98, allocations: 0 / 1.286 GB, free: 11.88 MB / 0.823 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)