Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.625/1.625, allocations: 291.7 MB / 306.8 MB, free: 7.719 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.001001/0.001002, allocations: 188.2 kB / 375.4 MB, free: 5.117 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.347/1.347, allocations: 225.7 MB / 0.6538 GB, free: 13.59 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.0008102/0.0008103, allocations: 101.6 kB / 0.7699 GB, free: 50.4 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004065, allocations: 8.875 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.631/0.6314, allocations: 118.1 MB / 1.011 GB, free: 58.01 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03006/0.6615, allocations: 38.31 MB / 1.048 GB, free: 38.5 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01279/0.6744, allocations: 9.665 MB / 1.058 GB, free: 31.55 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002508/0.6769, allocations: 44.94 kB / 1.058 GB, free: 31.53 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.6787, allocations: 459.2 kB / 1.058 GB, free: 31.28 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005281/0.684, allocations: 1.47 MB / 1.06 GB, free: 30.44 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002801/0.6868, allocations: 0.871 MB / 1.061 GB, free: 30.04 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005208/0.692, allocations: 3.866 MB / 1.064 GB, free: 28.45 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.6934, allocations: 0.8512 MB / 1.065 GB, free: 28.15 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.6955, allocations: 0.9894 MB / 1.066 GB, free: 27.75 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.6965, allocations: 0.8114 MB / 1.067 GB, free: 27.42 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.6966, allocations: 36.66 kB / 1.067 GB, free: 27.42 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.6984, allocations: 493.6 kB / 1.067 GB, free: 27.25 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.6986, allocations: 197.8 kB / 1.068 GB, free: 27.16 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002954/0.6989, allocations: 259.5 kB / 1.068 GB, free: 27.01 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.7003, allocations: 1.367 MB / 1.069 GB, free: 26.67 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7003, allocations: 0 / 1.069 GB, free: 26.67 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.705e-06/0.7003, allocations: 3.781 kB / 1.069 GB, free: 26.67 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.7004, allocations: 0 / 1.069 GB, free: 26.67 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.001849/0.7022, allocations: 1.31 MB / 1.07 GB, free: 25.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.7023, allocations: 9.031 kB / 1.07 GB, free: 25.76 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.7025, allocations: 135.3 kB / 1.071 GB, free: 25.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.7039, allocations: 1.054 MB / 1.072 GB, free: 25.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.704, allocations: 54.17 kB / 1.072 GB, free: 25.03 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-05/0.7041, allocations: 72.56 kB / 1.072 GB, free: 25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.7053, allocations: 0.8014 MB / 1.073 GB, free: 24.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.7053, allocations: 6.656 kB / 1.073 GB, free: 24.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.789e-05/0.7054, allocations: 32.28 kB / 1.073 GB, free: 24.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.7054, allocations: 18.84 kB / 1.073 GB, free: 24.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.7065, allocations: 0.5828 MB / 1.073 GB, free: 24.4 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.003321/0.7098, allocations: 3.548 MB / 1.077 GB, free: 21.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005149/0.7103, allocations: 275.2 kB / 1.077 GB, free: 21.71 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.7106, allocations: 188.5 kB / 1.077 GB, free: 21.65 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004094/0.7111, allocations: 0.6593 MB / 1.078 GB, free: 20.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.7111, allocations: 37.75 kB / 1.078 GB, free: 20.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 2.785e-06/0.7111, allocations: 0 / 1.078 GB, free: 20.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.001114/0.7122, allocations: 0.5384 MB / 1.078 GB, free: 20.65 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.7123, allocations: 54.56 kB / 1.078 GB, free: 20.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.7133, allocations: 0.9172 MB / 1.079 GB, free: 20.19 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.7133, allocations: 36.92 kB / 1.079 GB, free: 20.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/0.7137, allocations: 497.4 kB / 1.08 GB, free: 19.76 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.25e-05/0.7138, allocations: 112.6 kB / 1.08 GB, free: 19.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/0.7138, allocations: 11.31 kB / 1.08 GB, free: 19.67 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.7139, allocations: 332 kB / 1.08 GB, free: 19.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.7142, allocations: 170 kB / 1.08 GB, free: 19.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004353/0.7147, allocations: 369.2 kB / 1.081 GB, free: 19.03 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000738/0.7154, allocations: 0.5296 MB / 1.081 GB, free: 18.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.7154, allocations: 0.9375 kB / 1.081 GB, free: 18.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009886/0.7164, allocations: 0.6325 MB / 1.082 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.7165, allocations: 6.344 kB / 1.082 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.7165, allocations: 6.25 kB / 1.082 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/0.7165, allocations: 11.36 kB / 1.082 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.7169, allocations: 126.5 kB / 1.082 GB, free: 18.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.717, allocations: 13.72 kB / 1.082 GB, free: 18.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006992/0.7177, allocations: 119 kB / 1.082 GB, free: 18.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.7177, allocations: 27.16 kB / 1.082 GB, free: 18.34 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.0003324/0.7181, allocations: 280.5 kB / 1.082 GB, free: 18.13 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.7182, allocations: 97.62 kB / 1.082 GB, free: 18.08 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009069/0.7191, allocations: 0.4935 MB / 1.083 GB, free: 17.89 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.7191, allocations: 7.312 kB / 1.083 GB, free: 17.89 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.7192, allocations: 1.875 kB / 1.083 GB, free: 17.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006432/0.7198, allocations: 476.6 kB / 1.083 GB, free: 17.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.7215, allocations: 1.373 MB / 1.085 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.7215, allocations: 3.031 kB / 1.085 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.7218, allocations: 86.12 kB / 1.085 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.7218, allocations: 4.188 kB / 1.085 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.7219, allocations: 14.52 kB / 1.085 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.7219, allocations: 6.938 kB / 1.085 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7219, allocations: 3.031 kB / 1.085 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.7229, allocations: 0.7835 MB / 1.086 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.7232, allocations: 249.3 kB / 1.086 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.7233, allocations: 7.125 kB / 1.086 GB, free: 16.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/0.7238, allocations: 58.91 kB / 1.086 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.7239, allocations: 29.14 kB / 1.086 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.724, allocations: 20.22 kB / 1.086 GB, free: 16.24 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006612/0.7246, allocations: 0.6315 MB / 1.087 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7246, allocations: 4.906 kB / 1.087 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008298/0.7255, allocations: 331.5 kB / 1.087 GB, free: 15.89 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.0005917/0.7261, allocations: 373.5 kB / 1.087 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007541/0.7268, allocations: 440 kB / 1.088 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7268, allocations: 0 / 1.088 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.7272, allocations: 192.8 kB / 1.088 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/0.7299, allocations: 0.5977 MB / 1.088 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.7322, allocations: 1.955 MB / 1.09 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.7326, allocations: 1.038 MB / 1.091 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007242/0.7333, allocations: 196.9 kB / 1.092 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.7335, allocations: 78.53 kB / 1.092 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of SimCode: time 4.2e-07/0.7335, allocations: 1.406 kB / 1.092 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of Templates: time 0.03102/0.7645, allocations: 19.77 MB / 1.111 GB, free: 11.99 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)