Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7743/0.7743, allocations: 143.4 MB / 159.2 MB, free: 4.918 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 188.2 kB / 191.9 MB, free: 5.738 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 447.3 MB, free: 5.883 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00097/0.0009698, allocations: 95.7 kB / 0.517 GB, free: 3.73 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001825/0.001824, allocations: 288.7 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001375, allocations: 87.86 kB / 0.6885 GB, free: 3.848 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3068, allocations: 81.29 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.4924/0.7993, allocations: 218.8 MB / 0.9816 GB, free: 14.81 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.009175/0.8085, allocations: 5.749 MB / 0.9872 GB, free: 12.88 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.8102, allocations: 37.09 kB / 0.9872 GB, free: 12.86 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.8117, allocations: 0.5009 MB / 0.9877 GB, free: 12.62 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.005543/0.8173, allocations: 1.729 MB / 0.9894 GB, free: 11.56 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002851/0.8201, allocations: 1.077 MB / 0.9905 GB, free: 10.89 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004036/0.8242, allocations: 4.081 MB / 0.9945 GB, free: 8.805 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.8254, allocations: 0.8716 MB / 0.9953 GB, free: 8.297 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.827, allocations: 0.9082 MB / 0.9962 GB, free: 7.867 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002465/0.8294, allocations: 0.9592 MB / 0.9971 GB, free: 7.426 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.8296, allocations: 54.59 kB / 0.9972 GB, free: 7.422 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.8327, allocations: 1.637 MB / 0.9988 GB, free: 6.68 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004707/0.8331, allocations: 408.7 kB / 0.9992 GB, free: 6.43 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008275/0.834, allocations: 0.5903 MB / 0.9998 GB, free: 6.086 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003262/0.8372, allocations: 2.158 MB / 1.002 GB, free: 4.801 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8373, allocations: 0 / 1.002 GB, free: 4.801 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8373, allocations: 0 / 1.002 GB, free: 4.801 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.432e-05/0.8373, allocations: 0.9375 kB / 1.002 GB, free: 4.801 MB / 0.573 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.002515/0.8398, allocations: 1.497 MB / 1.003 GB, free: 3.684 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.8399, allocations: 14.56 kB / 1.003 GB, free: 3.68 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.8418, allocations: 316.2 kB / 1.004 GB, free: 3.52 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.8432, allocations: 0.7932 MB / 1.004 GB, free: 2.699 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.8432, allocations: 72.42 kB / 1.004 GB, free: 2.629 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.8433, allocations: 87.98 kB / 1.005 GB, free: 2.543 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.8449, allocations: 0.9131 MB / 1.005 GB, free: 1.625 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.8449, allocations: 0 / 1.005 GB, free: 1.625 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.911e-05/0.845, allocations: 43.98 kB / 1.006 GB, free: 1.582 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-05/0.845, allocations: 37.94 kB / 1.006 GB, free: 1.547 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.8464, allocations: 0.8314 MB / 1.006 GB, free: 0.7109 MB / 0.573 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.004994/0.8514, allocations: 3.52 MB / 1.01 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007356/0.8522, allocations: 0.5004 MB / 1.01 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/0.8526, allocations: 291.5 kB / 1.011 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.8528, allocations: 105.5 kB / 1.011 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.8528, allocations: 46.94 kB / 1.011 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=47): time 2.084e-06/0.8528, allocations: 0 / 1.011 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=49): time 0.0033/0.8561, allocations: 1.871 MB / 1.013 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.8562, allocations: 55.84 kB / 1.013 GB, free: 10 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008647/0.8571, allocations: 0.8057 MB / 1.013 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.8571, allocations: 37.64 kB / 1.013 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.8574, allocations: 475.3 kB / 1.014 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.8576, allocations: 175.1 kB / 1.014 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.8578, allocations: 122.1 kB / 1.014 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.423e-05/0.8579, allocations: 326 kB / 1.014 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/0.8583, allocations: 245.2 kB / 1.015 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000501/0.8588, allocations: 380.6 kB / 1.015 GB, free: 7.395 MB / 0.5886 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.003522/0.8623, allocations: 1.532 MB / 1.017 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8624, allocations: 0 / 1.017 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001224/0.8636, allocations: 0.7846 MB / 1.017 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.8636, allocations: 8 kB / 1.017 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.8636, allocations: 7.984 kB / 1.017 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/0.8638, allocations: 65.69 kB / 1.017 GB, free: 4.926 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006654/0.8645, allocations: 152 kB / 1.018 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.8667, allocations: 2.896 MB / 1.02 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009409/0.8676, allocations: 63.78 kB / 1.02 GB, free: 1.555 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/0.8677, allocations: 20 kB / 1.02 GB, free: 1.535 MB / 0.5886 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: 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 (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.000429/0.8681, allocations: 300.9 kB / 1.021 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.8683, allocations: 98.97 kB / 1.021 GB, free: 1.137 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.8685, allocations: 96.47 kB / 1.021 GB, free: 1.043 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.8685, allocations: 4 kB / 1.021 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.8685, allocations: 3.938 kB / 1.021 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009554/0.8694, allocations: 0.8348 MB / 1.022 GB, free: 116 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002733/0.8722, allocations: 1.787 MB / 1.023 GB, free: 14.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.8722, allocations: 4 kB / 1.023 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006097/0.8728, allocations: 131.8 kB / 1.024 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.972e-05/0.8729, allocations: 49.28 kB / 1.024 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.873, allocations: 15.98 kB / 1.024 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.874, allocations: 1.472 MB / 1.025 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.874, allocations: 4 kB / 1.025 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0052/0.8792, allocations: 3.858 MB / 1.029 GB, free: 8.391 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/0.8797, allocations: 239.9 kB / 1.029 GB, free: 8.137 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.682e-05/0.8798, allocations: 12 kB / 1.029 GB, free: 8.125 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007244/0.8805, allocations: 59.06 kB / 1.029 GB, free: 8.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.8806, allocations: 51.88 kB / 1.029 GB, free: 8.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-05/0.8807, allocations: 27.98 kB / 1.029 GB, free: 7.992 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006318/0.8813, allocations: 0.5536 MB / 1.03 GB, free: 7.441 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8813, allocations: 0 / 1.03 GB, free: 7.441 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001139/0.8825, allocations: 392 kB / 1.03 GB, free: 7.059 MB / 0.6042 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.0003983/0.8829, allocations: 190.5 kB / 1.03 GB, free: 6.875 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.8841, allocations: 0.8076 MB / 1.031 GB, free: 6.043 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8842, allocations: 4 kB / 1.031 GB, free: 6.039 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005287/0.8847, allocations: 403.8 kB / 1.032 GB, free: 5.633 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/0.8874, allocations: 0.5761 MB / 1.032 GB, free: 5.062 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/0.8907, allocations: 2.501 MB / 1.035 GB, free: 2.492 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006405/0.8913, allocations: 1.1 MB / 1.036 GB, free: 1.363 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009962/0.8923, allocations: 219.7 kB / 1.036 GB, free: 1.145 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.8925, allocations: 67.44 kB / 1.036 GB, free: 1.078 MB / 0.6042 GB Notification: Performance of SimCode: time 7.11e-07/0.8925, allocations: 0 / 1.036 GB, free: 1.078 MB / 0.6042 GB Notification: Performance of Templates: time 0.03108/0.9236, allocations: 19.94 MB / 1.055 GB, free: 13.39 MB / 0.6355 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)