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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008768/0.0008768, allocations: 86.64 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.001129/0.001129, 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.403/1.403, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.648/1.648, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.000596/0.0005961, allocations: 16.69 kB / 0.6737 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2512, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.596/0.8472, allocations: 201.4 MB / 0.984 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007993/0.8552, allocations: 5.36 MB / 0.9892 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.8565, allocations: 26.91 kB / 0.9892 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.8578, allocations: 400.5 kB / 0.9896 GB, free: 2.738 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.003578/0.8614, allocations: 1.367 MB / 0.991 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.8642, allocations: 0.8426 MB / 0.9918 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00563/0.8698, allocations: 3.401 MB / 0.9951 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.8711, allocations: 0.7188 MB / 0.9958 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002275/0.8734, allocations: 0.8836 MB / 0.9967 GB, free: 192 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.875, allocations: 0.8798 MB / 0.9975 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.8751, allocations: 40.34 kB / 0.9976 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.8775, allocations: 0.6978 MB / 0.9982 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004153/0.8779, allocations: 392.4 kB / 0.9986 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003563/0.8783, allocations: 259 kB / 0.9989 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.8798, allocations: 1.456 MB / 1 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8799, allocations: 0 / 1 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8799, allocations: 0 / 1 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.8799, allocations: 0 / 1 GB, free: 14.52 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.001878/0.8818, allocations: 1.294 MB / 1.002 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.8818, allocations: 9.375 kB / 1.002 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.8836, allocations: 305.9 kB / 1.002 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.8846, allocations: 0.7724 MB / 1.003 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/0.8847, allocations: 71.14 kB / 1.003 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.8848, allocations: 87.09 kB / 1.003 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.8862, allocations: 0.9222 MB / 1.004 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.8862, allocations: 4.172 kB / 1.004 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.552e-05/0.8863, allocations: 39.55 kB / 1.004 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.8863, allocations: 31.28 kB / 1.004 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.8875, allocations: 0.8339 MB / 1.005 GB, free: 12.64 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.004432/0.8919, allocations: 3.536 MB / 1.008 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.8926, allocations: 0.4983 MB / 1.008 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003965/0.893, allocations: 309.2 kB / 1.009 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.8932, allocations: 99.25 kB / 1.009 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.8933, allocations: 43.88 kB / 1.009 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 1.893e-06/0.8933, allocations: 0 / 1.009 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.003031/0.8963, allocations: 1.897 MB / 1.011 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.8963, allocations: 58.64 kB / 1.011 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007816/0.8971, allocations: 0.7912 MB / 1.012 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.8972, allocations: 38.83 kB / 1.012 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.8975, allocations: 473 kB / 1.012 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.8976, allocations: 177.1 kB / 1.012 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.8977, allocations: 10.91 kB / 1.012 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.8978, allocations: 329.5 kB / 1.013 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/0.8981, allocations: 251.9 kB / 1.013 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.8986, allocations: 382.6 kB / 1.013 GB, free: 8.184 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.002312/0.9009, allocations: 0.9951 MB / 1.014 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.9009, allocations: 0 / 1.014 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001103/0.902, allocations: 0.7931 MB / 1.015 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.902, allocations: 9.938 kB / 1.015 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.9021, allocations: 2.75 kB / 1.015 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/0.9022, allocations: 67.67 kB / 1.015 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.9028, allocations: 161.3 kB / 1.015 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.905, allocations: 2.884 MB / 1.018 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007171/0.9057, allocations: 60.97 kB / 1.018 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/0.9058, allocations: 24.33 kB / 1.018 GB, free: 4.922 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.0003862/0.9062, allocations: 299.4 kB / 1.018 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.9063, allocations: 91.16 kB / 1.018 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.9065, allocations: 94.77 kB / 1.019 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.9065, allocations: 13.94 kB / 1.019 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.9065, allocations: 5.75 kB / 1.019 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008896/0.9074, allocations: 0.8462 MB / 1.019 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/0.9098, allocations: 1.799 MB / 1.021 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.9099, allocations: 7.047 kB / 1.021 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/0.9104, allocations: 145.2 kB / 1.021 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.984e-05/0.9105, allocations: 37.42 kB / 1.021 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.9106, allocations: 17.81 kB / 1.021 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.9117, allocations: 1.469 MB / 1.023 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.9117, allocations: 10.73 kB / 1.023 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.9131, allocations: 1.096 MB / 1.024 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/0.9134, allocations: 228.9 kB / 1.024 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.9135, allocations: 15.67 kB / 1.024 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006405/0.9141, allocations: 77.36 kB / 1.024 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.122e-05/0.9142, allocations: 48.12 kB / 1.024 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.596e-05/0.9143, allocations: 29.48 kB / 1.024 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005723/0.9149, allocations: 0.5462 MB / 1.025 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9149, allocations: 0 / 1.025 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007649/0.9157, allocations: 282.4 kB / 1.025 GB, free: 1.137 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.0004284/0.9161, allocations: 179.6 kB / 1.025 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001157/0.9173, allocations: 0.8079 MB / 1.026 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.9173, allocations: 2.969 kB / 1.026 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004956/0.9178, allocations: 422.6 kB / 1.026 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/0.92, allocations: 0.5892 MB / 1.027 GB, free: 312 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.9226, allocations: 2.141 MB / 1.029 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006198/0.9232, allocations: 1.085 MB / 1.03 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007838/0.924, allocations: 215.9 kB / 1.03 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.9242, allocations: 67.16 kB / 1.03 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of SimCode: time 3.8e-07/0.9242, allocations: 4 kB / 1.03 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of Templates: time 0.03009/0.9543, allocations: 18.4 MB / 1.048 GB, free: 14.37 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) Environment - environmentSimulation: