Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008167/0.0008169, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009317/0.0009318, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.81/1.81, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005484/0.0005484, allocations: 18.53 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2505, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.8121/1.063, allocations: 201.4 MB / 0.9841 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01061/1.073, allocations: 5.359 MB / 0.9893 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001762/1.075, allocations: 35.94 kB / 0.9894 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/1.077, allocations: 395.5 kB / 0.9897 GB, free: 2.211 MB / 0.7169 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.005012/1.082, allocations: 1.364 MB / 0.9911 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003225/1.085, allocations: 0.8483 MB / 0.9919 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004803/1.09, allocations: 3.409 MB / 0.9952 GB, free: 304 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/1.091, allocations: 0.7148 MB / 0.9959 GB, free: 0 / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00218/1.093, allocations: 0.8811 MB / 0.9968 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/1.095, allocations: 0.8927 MB / 0.9977 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/1.095, allocations: 40.91 kB / 0.9977 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/1.097, allocations: 0.6982 MB / 0.9984 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004268/1.097, allocations: 384.3 kB / 0.9988 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003402/1.098, allocations: 257 kB / 0.999 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0017/1.099, allocations: 1.464 MB / 1 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/1.099, allocations: 0 / 1 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.976e-06/1.099, allocations: 0 / 1 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.542e-05/1.1, allocations: 1.859 kB / 1 GB, free: 13.99 MB / 0.7325 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.002086/1.102, allocations: 1.28 MB / 1.002 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/1.102, allocations: 12.58 kB / 1.002 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/1.102, allocations: 135 kB / 1.002 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/1.104, allocations: 318.4 kB / 1.002 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/1.105, allocations: 0.7735 MB / 1.003 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/1.105, allocations: 66.97 kB / 1.003 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/1.105, allocations: 83.44 kB / 1.003 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/1.107, allocations: 0.9128 MB / 1.004 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/1.107, allocations: 7.938 kB / 1.004 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.724e-05/1.107, allocations: 47.52 kB / 1.004 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.439e-05/1.107, allocations: 34.5 kB / 1.004 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/1.109, allocations: 0.8315 MB / 1.005 GB, free: 12.05 MB / 0.7325 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.005351/1.114, allocations: 3.538 MB / 1.008 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008121/1.115, allocations: 0.5006 MB / 1.009 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004728/1.115, allocations: 298.5 kB / 1.009 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002166/1.115, allocations: 107.2 kB / 1.009 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/1.115, allocations: 52.59 kB / 1.009 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.385e-06/1.115, allocations: 0 / 1.009 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.004014/1.12, allocations: 1.89 MB / 1.011 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/1.12, allocations: 57.78 kB / 1.011 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/1.121, allocations: 0.7865 MB / 1.012 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.158e-05/1.121, allocations: 40.58 kB / 1.012 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/1.121, allocations: 474.1 kB / 1.012 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/1.121, allocations: 175.2 kB / 1.013 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/1.121, allocations: 12.59 kB / 1.013 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.121, allocations: 334.3 kB / 1.013 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/1.122, allocations: 241.1 kB / 1.013 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/1.122, allocations: 389.5 kB / 1.013 GB, free: 7.602 MB / 0.7325 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.00261/1.125, allocations: 0.99 MB / 1.014 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.125, allocations: 0 / 1.014 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001371/1.126, allocations: 0.7904 MB / 1.015 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/1.127, allocations: 5.969 kB / 1.015 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.127, allocations: 2.438 kB / 1.015 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/1.127, allocations: 73.92 kB / 1.015 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006575/1.127, allocations: 166 kB / 1.015 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/1.13, allocations: 2.881 MB / 1.018 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009823/1.131, allocations: 62.19 kB / 1.018 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/1.131, allocations: 23.5 kB / 1.018 GB, free: 4.344 MB / 0.7325 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.0006414/1.132, allocations: 299.3 kB / 1.019 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/1.132, allocations: 89.28 kB / 1.019 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/1.132, allocations: 104.9 kB / 1.019 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/1.132, allocations: 2.969 kB / 1.019 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.132, allocations: 0 / 1.019 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001079/1.133, allocations: 0.8425 MB / 1.02 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/1.136, allocations: 1.804 MB / 1.021 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.136, allocations: 2.938 kB / 1.021 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/1.137, allocations: 145 kB / 1.022 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/1.137, allocations: 44.92 kB / 1.022 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/1.137, allocations: 12.12 kB / 1.022 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/1.138, allocations: 1.481 MB / 1.023 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.514e-05/1.138, allocations: 9.047 kB / 1.023 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/1.14, allocations: 1.101 MB / 1.024 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004801/1.14, allocations: 232.7 kB / 1.024 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/1.14, allocations: 20.52 kB / 1.024 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007014/1.141, allocations: 71.91 kB / 1.024 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.141, allocations: 43.09 kB / 1.024 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.894e-05/1.141, allocations: 30.8 kB / 1.024 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008167/1.142, allocations: 0.5512 MB / 1.025 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.92e-07/1.142, allocations: 0 / 1.025 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001006/1.143, allocations: 274.7 kB / 1.025 GB, free: 0.5547 MB / 0.7325 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.00225/1.145, allocations: 1.741 MB / 1.027 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001389/1.147, allocations: 0.8072 MB / 1.028 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.147, allocations: 3.938 kB / 1.028 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005949/1.147, allocations: 414.9 kB / 1.028 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/1.15, allocations: 0.5896 MB / 1.029 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008377/1.158, allocations: 5.389 MB / 1.034 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007174/1.159, allocations: 1.086 MB / 1.035 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001072/1.16, allocations: 215.6 kB / 1.035 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004544/1.161, allocations: 341.8 kB / 1.036 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of SimCode: time 1.012e-06/1.161, allocations: 0 / 1.036 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05195/1.213, allocations: 26.7 MB / 1.062 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/1.213, allocations: 286.5 kB / 1.062 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/3.622, allocations: 7.938 kB / 1.062 GB, free: 1.227 MB / 0.7637 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) Environment - environmentSimulation: