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 2.865/2.865, allocations: 287.5 MB / 302.4 MB, free: 8.242 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.001459/0.001459, allocations: 185.6 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.286/2.286, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.001015/0.001015, allocations: 98.38 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005094/0.0005097, allocations: 10.78 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2343, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 1.045/1.279, allocations: 201.4 MB / 1.175 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01446/1.294, allocations: 5.353 MB / 1.18 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/1.296, allocations: 33.03 kB / 1.18 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002342/1.298, allocations: 400.2 kB / 1.181 GB, free: 2.012 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.006856/1.305, allocations: 1.365 MB / 1.182 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004719/1.31, allocations: 0.8477 MB / 1.183 GB, free: 348 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007327/1.317, allocations: 3.405 MB / 1.186 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002083/1.319, allocations: 0.7188 MB / 1.187 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003187/1.323, allocations: 0.8811 MB / 1.188 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002713/1.325, allocations: 0.8786 MB / 1.189 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0004325/1.326, allocations: 38.41 kB / 1.189 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00393/1.33, allocations: 0.7027 MB / 1.189 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000989/1.331, allocations: 385.9 kB / 1.19 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0006821/1.332, allocations: 252.3 kB / 1.19 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003725/1.335, allocations: 1.47 MB / 1.191 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/1.335, allocations: 0 / 1.191 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.89e-06/1.336, allocations: 4 kB / 1.191 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.08e-05/1.336, allocations: 3.938 kB / 1.191 GB, free: 11.31 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.004089/1.34, allocations: 1.28 MB / 1.193 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/1.34, allocations: 11.25 kB / 1.193 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004563/1.34, allocations: 139.9 kB / 1.193 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00318/1.343, allocations: 318.7 kB / 1.193 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/1.346, allocations: 0.7762 MB / 1.194 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.864e-05/1.346, allocations: 63 kB / 1.194 GB, free: 9.441 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/1.346, allocations: 89.5 kB / 1.194 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002942/1.349, allocations: 0.9144 MB / 1.195 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.952e-05/1.349, allocations: 0 / 1.195 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/1.35, allocations: 39.62 kB / 1.195 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.115e-05/1.35, allocations: 28.78 kB / 1.195 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002758/1.352, allocations: 0.8376 MB / 1.196 GB, free: 8.457 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.01008/1.363, allocations: 3.544 MB / 1.199 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/1.364, allocations: 0.498 MB / 1.2 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007973/1.365, allocations: 296.8 kB / 1.2 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/1.365, allocations: 98.19 kB / 1.2 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.359e-05/1.365, allocations: 48.06 kB / 1.2 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=47): time 3.987e-06/1.365, allocations: 0 / 1.2 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49): time 0.01073/1.376, allocations: 1.89 MB / 1.202 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/1.376, allocations: 65.17 kB / 1.202 GB, free: 3.797 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002767/1.379, allocations: 0.7873 MB / 1.203 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002916/1.379, allocations: 39.23 kB / 1.203 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009197/1.38, allocations: 480.9 kB / 1.203 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004503/1.381, allocations: 171.2 kB / 1.204 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/1.381, allocations: 10.94 kB / 1.204 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002228/1.381, allocations: 331.7 kB / 1.204 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/1.382, allocations: 250.4 kB / 1.204 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009673/1.383, allocations: 384.1 kB / 1.204 GB, free: 2.016 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.005235/1.389, allocations: 0.9894 MB / 1.205 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/1.389, allocations: 6.938 kB / 1.205 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002552/1.391, allocations: 0.789 MB / 1.206 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/1.391, allocations: 12.7 kB / 1.206 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/1.391, allocations: 2.031 kB / 1.206 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002772/1.392, allocations: 67.55 kB / 1.206 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/1.393, allocations: 163.8 kB / 1.206 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003765/1.397, allocations: 2.881 MB / 1.209 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/1.399, allocations: 64.98 kB / 1.209 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/1.399, allocations: 23.59 kB / 1.209 GB, free: 14.1 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.0008205/1.4, allocations: 300.8 kB / 1.21 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003467/1.4, allocations: 93.05 kB / 1.21 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/1.4, allocations: 100.6 kB / 1.21 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/1.4, allocations: 9.484 kB / 1.21 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/1.4, allocations: 0 / 1.21 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001808/1.402, allocations: 0.8507 MB / 1.211 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0054/1.408, allocations: 1.803 MB / 1.212 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/1.408, allocations: 4 kB / 1.212 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/1.409, allocations: 144.2 kB / 1.213 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001888/1.409, allocations: 36.84 kB / 1.213 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.849e-05/1.409, allocations: 12 kB / 1.213 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/1.411, allocations: 1.476 MB / 1.214 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/1.411, allocations: 11.94 kB / 1.214 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003046/1.414, allocations: 1.099 MB / 1.215 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008311/1.415, allocations: 232 kB / 1.215 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/1.416, allocations: 20 kB / 1.215 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/1.417, allocations: 67.75 kB / 1.215 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/1.417, allocations: 39.89 kB / 1.215 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/1.418, allocations: 31.97 kB / 1.216 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001263/1.419, allocations: 0.5498 MB / 1.216 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.82e-07/1.419, allocations: 3.938 kB / 1.216 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001723/1.421, allocations: 272 kB / 1.216 GB, free: 7.145 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.003963/1.425, allocations: 1.738 MB / 1.218 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002394/1.427, allocations: 0.8082 MB / 1.219 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/1.427, allocations: 4 kB / 1.219 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/1.428, allocations: 408.2 kB / 1.219 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005439/1.434, allocations: 0.5748 MB / 1.22 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/1.449, allocations: 5.399 MB / 1.225 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/1.451, allocations: 1.084 MB / 1.226 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001908/1.453, allocations: 215.7 kB / 1.226 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/1.454, allocations: 343.3 kB / 1.227 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of SimCode: time 1.733e-06/1.454, allocations: 0 / 1.227 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/1.565, allocations: 26.71 MB / 1.253 GB, free: 1.914 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004603/1.565, allocations: 277.5 kB / 1.253 GB, free: 1.559 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.723/5.289, allocations: 3.516 kB / 1.253 GB, free: 1.559 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)