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 1.43/1.43, allocations: 287.4 MB / 302.5 MB, free: 8.211 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.0009514/0.0009516, allocations: 193.2 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.136/1.136, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.0006218/0.0006218, allocations: 98.3 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003621, allocations: 20.33 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1516, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.4935/0.6451, allocations: 202.8 MB / 1.177 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01487/0.66, allocations: 11.3 MB / 1.188 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.6618, allocations: 58.94 kB / 1.188 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.6633, allocations: 0.5821 MB / 1.188 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.005437/0.6687, allocations: 2.102 MB / 1.19 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.6717, allocations: 1.032 MB / 1.191 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00509/0.6768, allocations: 5.127 MB / 1.196 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/0.6785, allocations: 1.41 MB / 1.198 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003861/0.6824, allocations: 1.928 MB / 1.2 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002335/0.6847, allocations: 1.432 MB / 1.201 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002926/0.685, allocations: 76.56 kB / 1.201 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002849/0.6879, allocations: 1.05 MB / 1.202 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0005572/0.6885, allocations: 0.5846 MB / 1.203 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004508/0.6889, allocations: 382.6 kB / 1.203 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.6911, allocations: 2.252 MB / 1.205 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6911, allocations: 0 / 1.205 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6911, allocations: 0 / 1.205 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.584e-05/0.6911, allocations: 2.969 kB / 1.205 GB, free: 1.121 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.002684/0.6938, allocations: 1.885 MB / 1.207 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.6938, allocations: 10.62 kB / 1.207 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002099/0.6941, allocations: 204.1 kB / 1.207 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00241/0.6965, allocations: 0.4916 MB / 1.208 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.6982, allocations: 1.237 MB / 1.209 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.197e-05/0.6983, allocations: 111.2 kB / 1.209 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.6985, allocations: 146.5 kB / 1.209 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.7007, allocations: 1.748 MB / 1.211 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/0.7007, allocations: 3.938 kB / 1.211 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.7008, allocations: 63.88 kB / 1.211 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.262e-05/0.7009, allocations: 53.44 kB / 1.211 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.7028, allocations: 1.387 MB / 1.213 GB, free: 12.18 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.009828/0.7126, allocations: 7.304 MB / 1.22 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.7139, allocations: 1.022 MB / 1.221 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008127/0.7147, allocations: 0.6866 MB / 1.221 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.7149, allocations: 114.1 kB / 1.221 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.7149, allocations: 59.48 kB / 1.221 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001/0.7159, allocations: 302.7 kB / 1.222 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=106): time 3.256e-06/0.716, allocations: 0 / 1.222 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=112): time 0.006039/0.722, allocations: 4.276 MB / 1.226 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.7221, allocations: 171.2 kB / 1.226 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.7234, allocations: 1.238 MB / 1.227 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.146e-05/0.7234, allocations: 53.83 kB / 1.227 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004404/0.7239, allocations: 0.6967 MB / 1.228 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/0.7242, allocations: 398.2 kB / 1.228 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/0.7242, allocations: 28 kB / 1.228 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.7243, allocations: 361.9 kB / 1.229 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007115/0.7251, allocations: 0.5075 MB / 1.229 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008927/0.726, allocations: 0.8352 MB / 1.23 GB, free: 9.414 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: 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.009856/0.7358, allocations: 4.723 MB / 1.235 GB, free: 4.531 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.7358, allocations: 0 / 1.235 GB, free: 4.531 MB / 0.7605 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003746/0.7396, allocations: 1.589 MB / 1.236 GB, free: 2.934 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.7396, allocations: 8 kB / 1.236 GB, free: 2.926 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.7397, allocations: 12.12 kB / 1.236 GB, free: 2.914 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.232e-05/0.7397, allocations: 16 kB / 1.236 GB, free: 2.898 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.7416, allocations: 291.5 kB / 1.237 GB, free: 2.613 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-05/0.7416, allocations: 20 kB / 1.237 GB, free: 2.594 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.7431, allocations: 103.5 kB / 1.237 GB, free: 2.492 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.622e-05/0.7432, allocations: 63.97 kB / 1.237 GB, free: 2.43 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006443/0.7439, allocations: 423.6 kB / 1.237 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.7442, allocations: 162.1 kB / 1.237 GB, free: 1.848 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/0.746, allocations: 1.267 MB / 1.239 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.7461, allocations: 15.94 kB / 1.239 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.7461, allocations: 0 / 1.239 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00137/0.7475, allocations: 1.221 MB / 1.24 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005124/0.7526, allocations: 3.734 MB / 1.243 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.7526, allocations: 8 kB / 1.243 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.7537, allocations: 259.8 kB / 1.244 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.491e-05/0.7537, allocations: 16 kB / 1.244 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.5e-05/0.7538, allocations: 41.36 kB / 1.244 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.185e-05/0.7538, allocations: 19.88 kB / 1.244 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.129e-05/0.7538, allocations: 19.88 kB / 1.244 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002464/0.7563, allocations: 2.179 MB / 1.246 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000567/0.7568, allocations: 358.9 kB / 1.246 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.7571, allocations: 40.09 kB / 1.246 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.7581, allocations: 96.22 kB / 1.246 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.7583, allocations: 100.3 kB / 1.246 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.76e-05/0.7583, allocations: 55.97 kB / 1.247 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0009623/0.7593, allocations: 0.8289 MB / 1.247 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7593, allocations: 0 / 1.247 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001158/0.7605, allocations: 432 kB / 1.248 GB, free: 6.73 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.002977/0.7635, allocations: 2.864 MB / 1.251 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002082/0.7656, allocations: 1.2 MB / 1.252 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.7656, allocations: 0 / 1.252 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006961/0.7663, allocations: 0.5446 MB / 1.252 GB, free: 1.977 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008228/0.7745, allocations: 0.8733 MB / 1.253 GB, free: 1.109 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/0.7889, allocations: 10.38 MB / 1.263 GB, free: 6.07 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008304/0.7898, allocations: 1.38 MB / 1.265 GB, free: 4.656 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0014/0.7912, allocations: 385.2 kB / 1.265 GB, free: 4.273 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000821/0.792, allocations: 0.6321 MB / 1.266 GB, free: 3.641 MB / 0.7917 GB Notification: Performance of SimCode: time 5.01e-07/0.792, allocations: 3.938 kB / 1.266 GB, free: 3.637 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4366/1.229, allocations: 42.19 MB / 1.307 GB, free: 9.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/1.229, allocations: 268.8 kB / 1.307 GB, free: 9.551 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.399/4.628, allocations: 0 / 1.307 GB, free: 9.551 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)