Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.811/0.811, allocations: 143.8 MB / 159.1 MB, free: 6.5 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 190.5 kB / 192 MB, free: 6.703 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.7 MB / 450.4 MB, free: 4.953 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001036, allocations: 99.58 kB / 0.5211 GB, free: 1.621 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002248/0.002248, allocations: 285.7 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 19.12 kB / 0.6948 GB, free: 59.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1446, allocations: 82.46 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.506/0.6506, allocations: 214.5 MB / 0.9848 GB, free: 5.738 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.009384/0.6601, allocations: 7.713 MB / 0.9923 GB, free: 0.9219 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.6616, allocations: 32.84 kB / 0.9924 GB, free: 0.9062 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.6633, allocations: 0.4925 MB / 0.9929 GB, free: 0.5977 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.004192/0.6675, allocations: 1.525 MB / 0.9943 GB, free: 15.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.003157/0.6707, allocations: 1.079 MB / 0.9954 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.003717/0.6744, allocations: 3.521 MB / 0.9988 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.6757, allocations: 0.7312 MB / 0.9995 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001984/0.6777, allocations: 0.9179 MB / 1 GB, free: 13.33 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002698/0.6804, allocations: 0.8115 MB / 1.001 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0002313/0.6807, allocations: 38.44 kB / 1.001 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.6839, allocations: 1.687 MB / 1.003 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0004998/0.6844, allocations: 339.3 kB / 1.003 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0009322/0.6854, allocations: 0.537 MB / 1.004 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.00317/0.6886, allocations: 2.014 MB / 1.006 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6886, allocations: 0 / 1.006 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6886, allocations: 0 / 1.006 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.522e-05/0.6887, allocations: 2.844 kB / 1.006 GB, free: 10.84 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002361/0.691, allocations: 1.215 MB / 1.007 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.6911, allocations: 10.94 kB / 1.007 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002529/0.6936, allocations: 441.3 kB / 1.007 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.6951, allocations: 0.7511 MB / 1.008 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003331/0.6954, allocations: 128.5 kB / 1.008 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.6956, allocations: 76.84 kB / 1.008 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.6975, allocations: 1.004 MB / 1.009 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.6976, allocations: 7.094 kB / 1.009 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.348e-05/0.6976, allocations: 30.16 kB / 1.009 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.891e-05/0.6977, allocations: 36.36 kB / 1.009 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.6996, allocations: 0.9092 MB / 1.01 GB, free: 8.801 MB / 0.5886 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.00614/0.7057, allocations: 3.53 MB / 1.014 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.7074, allocations: 0.6599 MB / 1.014 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007619/0.7082, allocations: 355.2 kB / 1.015 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/0.7084, allocations: 104 kB / 1.015 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.7084, allocations: 41.94 kB / 1.015 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=39): time 2.254e-06/0.7084, allocations: 0 / 1.015 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of matching and sorting (n=41): time 0.005115/0.7136, allocations: 1.98 MB / 1.017 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.7136, allocations: 59.41 kB / 1.017 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009566/0.7146, allocations: 0.7689 MB / 1.018 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.055e-05/0.7147, allocations: 35.83 kB / 1.018 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.7149, allocations: 446.1 kB / 1.018 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.7151, allocations: 140.5 kB / 1.018 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.7152, allocations: 8.625 kB / 1.018 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7153, allocations: 335.4 kB / 1.018 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007586/0.7161, allocations: 325.8 kB / 1.019 GB, free: 2.004 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008488/0.7169, allocations: 468.5 kB / 1.019 GB, free: 1.594 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.00505/0.722, allocations: 2.022 MB / 1.021 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.722, allocations: 4 kB / 1.021 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001903/0.7239, allocations: 0.8717 MB / 1.022 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.7239, allocations: 4 kB / 1.022 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.724, allocations: 4 kB / 1.022 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.724, allocations: 4 kB / 1.022 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008248/0.7248, allocations: 195.4 kB / 1.022 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.7248, allocations: 7.938 kB / 1.022 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.7259, allocations: 106.3 kB / 1.022 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.965e-05/0.7259, allocations: 19.31 kB / 1.022 GB, free: 14.92 MB / 0.6042 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 (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004889/0.7264, allocations: 288.1 kB / 1.023 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.7266, allocations: 82 kB / 1.023 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.7268, allocations: 87.58 kB / 1.023 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.7269, allocations: 4 kB / 1.023 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.7269, allocations: 0 / 1.023 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001564/0.7284, allocations: 0.731 MB / 1.024 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004102/0.7325, allocations: 1.965 MB / 1.025 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.7326, allocations: 4 kB / 1.025 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007748/0.7334, allocations: 163.5 kB / 1.026 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.7334, allocations: 12 kB / 1.026 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.7334, allocations: 14.19 kB / 1.026 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.7334, allocations: 7.984 kB / 1.026 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.7334, allocations: 11.88 kB / 1.026 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/0.736, allocations: 1.304 MB / 1.027 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004654/0.7365, allocations: 232.1 kB / 1.027 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.7367, allocations: 15.98 kB / 1.027 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009172/0.7376, allocations: 95.83 kB / 1.027 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.933e-05/0.7377, allocations: 39.83 kB / 1.027 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.132e-05/0.7378, allocations: 23.98 kB / 1.027 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007514/0.7385, allocations: 0.5302 MB / 1.028 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7385, allocations: 4 kB / 1.028 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008778/0.7394, allocations: 248 kB / 1.028 GB, free: 9.773 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004955/0.7399, allocations: 229 kB / 1.028 GB, free: 9.551 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001792/0.7417, allocations: 0.7212 MB / 1.029 GB, free: 8.828 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.7417, allocations: 3.938 kB / 1.029 GB, free: 8.824 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008294/0.7426, allocations: 356.6 kB / 1.029 GB, free: 8.477 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/0.7452, allocations: 0.5007 MB / 1.03 GB, free: 7.977 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004398/0.7496, allocations: 2.279 MB / 1.032 GB, free: 5.633 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/0.7503, allocations: 1.036 MB / 1.033 GB, free: 4.57 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009739/0.7513, allocations: 227 kB / 1.033 GB, free: 4.344 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.7515, allocations: 71.42 kB / 1.033 GB, free: 4.273 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/0.7515, allocations: 0 / 1.033 GB, free: 4.273 MB / 0.6042 GB Notification: Performance of Templates: time 0.03109/0.7826, allocations: 17.72 MB / 1.051 GB, free: 2.824 MB / 0.6198 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)