Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.502/1.502, allocations: 287.4 MB / 302.6 MB, free: 8.223 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.0009329/0.0009329, allocations: 174.3 kB / 371.1 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 1.213/1.213, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.000772/0.0007721, allocations: 81.36 kB / 0.7431 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00053/0.0005304, allocations: 11.05 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2405, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5785/0.819, allocations: 201.4 MB / 1.175 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.008655/0.8277, allocations: 5.341 MB / 1.181 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.8289, allocations: 29.22 kB / 1.181 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.8302, allocations: 403.7 kB / 1.181 GB, free: 1.879 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003763/0.8339, allocations: 1.368 MB / 1.182 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.8365, allocations: 0.85 MB / 1.183 GB, free: 208 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004115/0.8406, allocations: 3.418 MB / 1.187 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.8417, allocations: 0.8379 MB / 1.187 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.8434, allocations: 0.8781 MB / 1.188 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.8445, allocations: 0.8801 MB / 1.189 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.8447, allocations: 44.84 kB / 1.189 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/0.8468, allocations: 0.7013 MB / 1.19 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004068/0.8472, allocations: 385.8 kB / 1.19 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002967/0.8475, allocations: 260.1 kB / 1.19 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.8492, allocations: 1.459 MB / 1.192 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8492, allocations: 0 / 1.192 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8493, allocations: 0 / 1.192 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.568e-05/0.8493, allocations: 0 / 1.192 GB, free: 11.11 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002355/0.8517, allocations: 1.281 MB / 1.193 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.8517, allocations: 10.62 kB / 1.193 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001764/0.8519, allocations: 136.8 kB / 1.193 GB, free: 10 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.8537, allocations: 315.3 kB / 1.194 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.855, allocations: 0.799 MB / 1.194 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.807e-05/0.8551, allocations: 62.56 kB / 1.194 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.8552, allocations: 85.94 kB / 1.195 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.8567, allocations: 0.9221 MB / 1.195 GB, free: 8.656 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.8568, allocations: 2.906 kB / 1.195 GB, free: 8.656 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.762e-05/0.8569, allocations: 35.91 kB / 1.195 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.302e-05/0.8569, allocations: 36.38 kB / 1.195 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.8584, allocations: 0.8297 MB / 1.196 GB, free: 8.219 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.004981/0.8634, allocations: 3.538 MB / 1.2 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007625/0.8642, allocations: 0.5008 MB / 1.2 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004557/0.8647, allocations: 304.1 kB / 1.201 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/0.8649, allocations: 106.2 kB / 1.201 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.8649, allocations: 41.88 kB / 1.201 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=47): time 2.304e-06/0.8649, allocations: 2.469 kB / 1.201 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49): time 0.003498/0.8684, allocations: 1.891 MB / 1.203 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.8685, allocations: 56.44 kB / 1.203 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009628/0.8695, allocations: 0.7936 MB / 1.203 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.8695, allocations: 34.83 kB / 1.203 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/0.8699, allocations: 476.4 kB / 1.204 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.8701, allocations: 175.1 kB / 1.204 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.8701, allocations: 11 kB / 1.204 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.8702, allocations: 331.7 kB / 1.204 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/0.8707, allocations: 256 kB / 1.205 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005274/0.8712, allocations: 381 kB / 1.205 GB, free: 1.781 MB / 0.7292 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00354/0.8748, allocations: 1.557 MB / 1.206 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8748, allocations: 3.938 kB / 1.206 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001243/0.876, allocations: 0.7962 MB / 1.207 GB, free: 480 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.8761, allocations: 4.875 kB / 1.207 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.8761, allocations: 5.562 kB / 1.207 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.8763, allocations: 74.7 kB / 1.207 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006778/0.877, allocations: 160 kB / 1.207 GB, free: 392 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.8793, allocations: 2.895 MB / 1.21 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008852/0.8802, allocations: 55.53 kB / 1.21 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/0.8803, allocations: 23.47 kB / 1.21 GB, free: 13.48 MB / 0.7448 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004615/0.8807, allocations: 305 kB / 1.211 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.8809, allocations: 93.77 kB / 1.211 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.8811, allocations: 99.78 kB / 1.211 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.8811, allocations: 9.781 kB / 1.211 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.8811, allocations: 0 / 1.211 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/0.8822, allocations: 0.8443 MB / 1.212 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/0.885, allocations: 1.801 MB / 1.213 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.885, allocations: 4 kB / 1.213 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006395/0.8857, allocations: 140.2 kB / 1.214 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.186e-05/0.8858, allocations: 44.77 kB / 1.214 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.8858, allocations: 16 kB / 1.214 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.887, allocations: 1.476 MB / 1.215 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.887, allocations: 4.625 kB / 1.215 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.8885, allocations: 1.103 MB / 1.216 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.8889, allocations: 235.9 kB / 1.216 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.8891, allocations: 15.98 kB / 1.216 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007676/0.8898, allocations: 67.86 kB / 1.216 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.89, allocations: 47.97 kB / 1.217 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/0.89, allocations: 27.98 kB / 1.217 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006977/0.8907, allocations: 0.5459 MB / 1.217 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8907, allocations: 0 / 1.217 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00086/0.8916, allocations: 272 kB / 1.217 GB, free: 6.219 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * 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 (47): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002198/0.8938, allocations: 1.745 MB / 1.219 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.8952, allocations: 0.7967 MB / 1.22 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.8952, allocations: 4 kB / 1.22 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005741/0.8958, allocations: 412.1 kB / 1.22 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/0.8988, allocations: 0.5731 MB / 1.221 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009248/0.9081, allocations: 5.416 MB / 1.226 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007535/0.9089, allocations: 1.088 MB / 1.227 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0009667/0.9098, allocations: 215.7 kB / 1.227 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004896/0.9103, allocations: 336.1 kB / 1.228 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of SimCode: time 5.61e-07/0.9104, allocations: 3.938 kB / 1.228 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5879/1.498, allocations: 26.7 MB / 1.254 GB, free: 0.9844 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/1.499, allocations: 265.9 kB / 1.254 GB, free: 0.6328 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.356/4.854, allocations: 0 / 1.254 GB, free: 0.6328 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)