Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.005514/0.005514, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001201/0.001201, allocations: 189.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.599/1.599, allocations: 251.7 MB / 0.5094 GB, free: 3.086 MB / 414.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.001423/0.001423, allocations: 63.89 kB / 0.7258 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2317, allocations: 104.7 MB / 0.8281 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.9078/1.14, allocations: 221.5 MB / 1.044 GB, free: 15.2 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01552/1.155, allocations: 5.808 MB / 1.05 GB, free: 9.379 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002481/1.158, allocations: 39.75 kB / 1.05 GB, free: 9.34 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002398/1.16, allocations: 0.5941 MB / 1.051 GB, free: 8.742 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006619/1.167, allocations: 1.913 MB / 1.053 GB, free: 6.82 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003992/1.171, allocations: 1.237 MB / 1.054 GB, free: 5.594 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005905/1.177, allocations: 3.167 MB / 1.057 GB, free: 2.422 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002355/1.179, allocations: 1.086 MB / 1.058 GB, free: 1.316 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0032/1.182, allocations: 1.125 MB / 1.059 GB, free: 192 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00354/1.186, allocations: 0.9739 MB / 1.06 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0006452/1.187, allocations: 112 kB / 1.06 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004768/1.191, allocations: 1.434 MB / 1.061 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001036/1.192, allocations: 494.7 kB / 1.062 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002109/1.195, allocations: 0.6806 MB / 1.063 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.005927/1.201, allocations: 2.216 MB / 1.065 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.201, allocations: 4 kB / 1.065 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.834e-06/1.201, allocations: 0 / 1.065 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.283e-05/1.201, allocations: 0 / 1.065 GB, free: 10.29 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00365/1.204, allocations: 1.538 MB / 1.066 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/1.204, allocations: 12.03 kB / 1.066 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/1.206, allocations: 319.4 kB / 1.067 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/1.208, allocations: 0.8669 MB / 1.067 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.048e-05/1.208, allocations: 66 kB / 1.067 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/1.208, allocations: 88 kB / 1.068 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/1.21, allocations: 0.9326 MB / 1.068 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/1.21, allocations: 0 / 1.068 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/1.21, allocations: 40 kB / 1.069 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.045e-05/1.21, allocations: 41.92 kB / 1.069 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/1.212, allocations: 0.8353 MB / 1.069 GB, free: 5.457 MB / 0.8106 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.006221/1.218, allocations: 3.547 MB / 1.073 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007579/1.219, allocations: 488.3 kB / 1.073 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004442/1.219, allocations: 294.5 kB / 1.074 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/1.22, allocations: 109.5 kB / 1.074 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/1.22, allocations: 39.88 kB / 1.074 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=47): time 2.154e-06/1.22, allocations: 3.938 kB / 1.074 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of matching and sorting (n=49): time 0.004014/1.224, allocations: 1.86 MB / 1.076 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/1.224, allocations: 63.78 kB / 1.076 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/1.225, allocations: 0.8215 MB / 1.076 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.931e-05/1.225, allocations: 37.7 kB / 1.076 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/1.225, allocations: 491.2 kB / 1.077 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/1.226, allocations: 177.5 kB / 1.077 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/1.226, allocations: 118.2 kB / 1.077 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.226, allocations: 330 kB / 1.077 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000414/1.226, allocations: 237.1 kB / 1.078 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005229/1.227, allocations: 386.4 kB / 1.078 GB, free: 12.05 MB / 0.8262 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.003336/1.23, allocations: 1.483 MB / 1.08 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.23, allocations: 0 / 1.08 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001401/1.232, allocations: 0.781 MB / 1.08 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.232, allocations: 4 kB / 1.08 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/1.232, allocations: 8 kB / 1.08 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/1.232, allocations: 73.67 kB / 1.08 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006822/1.232, allocations: 151.7 kB / 1.081 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/1.235, allocations: 3.121 MB / 1.084 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009801/1.236, allocations: 30.89 kB / 1.084 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/1.236, allocations: 20.12 kB / 1.084 GB, free: 6.023 MB / 0.8262 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005192/1.236, allocations: 319.4 kB / 1.084 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/1.237, allocations: 102.9 kB / 1.084 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/1.237, allocations: 100.8 kB / 1.084 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/1.237, allocations: 7.938 kB / 1.084 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.237, allocations: 0 / 1.084 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009915/1.238, allocations: 0.831 MB / 1.085 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/1.241, allocations: 1.799 MB / 1.087 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.241, allocations: 4 kB / 1.087 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00064/1.242, allocations: 136.2 kB / 1.087 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001225/1.242, allocations: 36.78 kB / 1.087 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/1.242, allocations: 20 kB / 1.087 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/1.243, allocations: 1.602 MB / 1.088 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/1.243, allocations: 4 kB / 1.088 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/1.245, allocations: 1.08 MB / 1.09 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000539/1.245, allocations: 252 kB / 1.09 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.941e-05/1.245, allocations: 12 kB / 1.09 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007694/1.246, allocations: 40.95 kB / 1.09 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/1.246, allocations: 43.89 kB / 1.09 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-05/1.246, allocations: 35.97 kB / 1.09 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009705/1.247, allocations: 0.5732 MB / 1.09 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/1.247, allocations: 0 / 1.09 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009644/1.248, allocations: 276 kB / 1.091 GB, free: 14.37 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005279/1.249, allocations: 205.5 kB / 1.091 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001522/1.25, allocations: 0.7921 MB / 1.092 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.251, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006036/1.251, allocations: 407.9 kB / 1.092 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/1.254, allocations: 0.6133 MB / 1.093 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/1.257, allocations: 1.839 MB / 1.094 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009532/1.258, allocations: 1.099 MB / 1.096 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0009014/1.259, allocations: 219.7 kB / 1.096 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/1.259, allocations: 71.38 kB / 1.096 GB, free: 9 MB / 0.8419 GB Notification: Performance of SimCode: time 3.286e-06/1.259, allocations: 0 / 1.096 GB, free: 9 MB / 0.8419 GB Notification: Performance of Templates: time 0.03904/1.298, allocations: 20.88 MB / 1.116 GB, free: 4.453 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)