Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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) 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 Buildings with version 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.684/1.684, allocations: 292.6 MB / 307.8 MB, free: 7.078 MB / 234.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.00158/0.00158, allocations: 181.4 kB / 376.5 MB, free: 4.414 MB / 298.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.412/1.412, allocations: 225.7 MB / 0.655 GB, free: 13.06 MB / 490.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.00101/0.00101, allocations: 104.9 kB / 0.7711 GB, free: 50.43 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003693, allocations: 12 kB / 0.897 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6214/0.6218, allocations: 118.2 MB / 1.012 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04561/0.6675, allocations: 38.31 MB / 1.05 GB, free: 38.12 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01797/0.6855, allocations: 9.652 MB / 1.059 GB, free: 31.19 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002766/0.6883, allocations: 46.28 kB / 1.059 GB, free: 31.17 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002607/0.691, allocations: 465.1 kB / 1.06 GB, free: 30.92 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.007978/0.699, allocations: 1.577 MB / 1.061 GB, free: 30.04 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004407/0.7034, allocations: 0.8868 MB / 1.062 GB, free: 29.62 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006304/0.7097, allocations: 3.869 MB / 1.066 GB, free: 28.04 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/0.7115, allocations: 0.8473 MB / 1.067 GB, free: 27.73 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00235/0.7139, allocations: 1.004 MB / 1.068 GB, free: 27.33 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.7151, allocations: 0.8156 MB / 1.069 GB, free: 27 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.7152, allocations: 34.5 kB / 1.069 GB, free: 27 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.7172, allocations: 0.7236 MB / 1.069 GB, free: 26.73 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002277/0.7175, allocations: 200.6 kB / 1.069 GB, free: 26.63 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0006697/0.7181, allocations: 0.546 MB / 1.07 GB, free: 26.32 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.7198, allocations: 1.433 MB / 1.071 GB, free: 25.98 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.7198, allocations: 0 / 1.071 GB, free: 25.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7198, allocations: 0 / 1.071 GB, free: 25.98 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.7199, allocations: 0 / 1.071 GB, free: 25.98 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001858/0.7217, allocations: 1.307 MB / 1.073 GB, free: 25.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.7218, allocations: 6.438 kB / 1.073 GB, free: 25.08 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002736/0.7221, allocations: 134.5 kB / 1.073 GB, free: 25.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.7235, allocations: 1.065 MB / 1.074 GB, free: 24.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/0.7235, allocations: 55.94 kB / 1.074 GB, free: 24.33 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.926e-05/0.7237, allocations: 72.28 kB / 1.074 GB, free: 24.31 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.7249, allocations: 0.7983 MB / 1.075 GB, free: 23.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.7249, allocations: 3.375 kB / 1.075 GB, free: 23.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.077e-05/0.725, allocations: 30.47 kB / 1.075 GB, free: 23.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.725, allocations: 26.02 kB / 1.075 GB, free: 23.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.7261, allocations: 0.5838 MB / 1.075 GB, free: 23.71 MB / 0.7136 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.003453/0.7295, allocations: 3.553 MB / 1.079 GB, free: 21.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.7301, allocations: 272.3 kB / 1.079 GB, free: 21.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.7304, allocations: 186.2 kB / 1.079 GB, free: 20.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003966/0.7308, allocations: 0.6564 MB / 1.08 GB, free: 20.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.7308, allocations: 41.84 kB / 1.08 GB, free: 20.15 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 1.923e-06/0.7308, allocations: 0 / 1.08 GB, free: 20.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.001/0.7318, allocations: 0.5385 MB / 1.08 GB, free: 19.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.7319, allocations: 54.59 kB / 1.081 GB, free: 19.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00091/0.7328, allocations: 0.9235 MB / 1.081 GB, free: 19.49 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.7328, allocations: 36.98 kB / 1.081 GB, free: 19.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.7331, allocations: 492.9 kB / 1.082 GB, free: 19.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.922e-05/0.7332, allocations: 112.8 kB / 1.082 GB, free: 18.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/0.7332, allocations: 11.94 kB / 1.082 GB, free: 18.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.787e-05/0.7333, allocations: 335.3 kB / 1.082 GB, free: 18.65 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.7336, allocations: 172 kB / 1.083 GB, free: 18.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.734, allocations: 358.9 kB / 1.083 GB, free: 18.33 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006734/0.7347, allocations: 0.5327 MB / 1.083 GB, free: 17.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7347, allocations: 4.406 kB / 1.083 GB, free: 17.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009218/0.7356, allocations: 0.6216 MB / 1.084 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.7356, allocations: 13.17 kB / 1.084 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.7357, allocations: 9.125 kB / 1.084 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.7357, allocations: 9.062 kB / 1.084 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.7361, allocations: 131.6 kB / 1.084 GB, free: 17.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.7361, allocations: 12.02 kB / 1.084 GB, free: 17.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/0.7368, allocations: 117 kB / 1.084 GB, free: 17.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.7368, allocations: 31.23 kB / 1.084 GB, free: 17.64 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003032/0.7371, allocations: 281.5 kB / 1.085 GB, free: 17.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.7372, allocations: 98.38 kB / 1.085 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008304/0.7381, allocations: 0.4968 MB / 1.085 GB, free: 17.19 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.7381, allocations: 2.969 kB / 1.085 GB, free: 17.19 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.7381, allocations: 0 / 1.085 GB, free: 17.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005923/0.7387, allocations: 468.3 kB / 1.086 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.7404, allocations: 1.38 MB / 1.087 GB, free: 16.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.7404, allocations: 0.6562 kB / 1.087 GB, free: 16.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/0.7407, allocations: 84.06 kB / 1.087 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.7407, allocations: 3.406 kB / 1.087 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.7408, allocations: 11.31 kB / 1.087 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.7408, allocations: 5.406 kB / 1.087 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7408, allocations: 3.188 kB / 1.087 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.7418, allocations: 0.7964 MB / 1.088 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/0.7421, allocations: 246.1 kB / 1.088 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.7422, allocations: 7.125 kB / 1.088 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005327/0.7428, allocations: 57.02 kB / 1.088 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.7428, allocations: 24.62 kB / 1.088 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.7429, allocations: 20.16 kB / 1.088 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006626/0.7435, allocations: 0.6346 MB / 1.089 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.82e-07/0.7435, allocations: 0 / 1.089 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008883/0.7444, allocations: 338.9 kB / 1.089 GB, free: 15.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007409/0.7452, allocations: 385.1 kB / 1.089 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000881/0.7461, allocations: 436.8 kB / 1.09 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.7461, allocations: 2.969 kB / 1.09 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.7465, allocations: 194.2 kB / 1.09 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/0.7493, allocations: 0.5993 MB / 1.091 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.7519, allocations: 1.95 MB / 1.093 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.7523, allocations: 1.038 MB / 1.094 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007703/0.7531, allocations: 198.8 kB / 1.094 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.7533, allocations: 81.05 kB / 1.094 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of SimCode: time 9.11e-07/0.7533, allocations: 4 kB / 1.094 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.03042/0.7837, allocations: 20.08 MB / 1.113 GB, free: 11.28 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)