Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.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) 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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.862/1.862, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.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.0009929/0.0009929, allocations: 167.5 kB / 393.1 MB, free: 4.078 MB / 314.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.527/1.527, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008628/0.0008627, allocations: 95.34 kB / 0.7935 GB, free: 39.94 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003685, allocations: 12 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5514/0.5517, allocations: 121.3 MB / 1.041 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02911/0.5809, allocations: 41.2 MB / 1.081 GB, free: 27.36 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01177/0.5927, allocations: 14.43 MB / 1.095 GB, free: 14.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.5943, allocations: 45.75 kB / 1.095 GB, free: 14.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.5956, allocations: 0.5249 MB / 1.096 GB, free: 14.52 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004649/0.6003, allocations: 1.734 MB / 1.097 GB, free: 13.5 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003527/0.6038, allocations: 1.077 MB / 1.098 GB, free: 12.89 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005965/0.6098, allocations: 4.498 MB / 1.103 GB, free: 11.23 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001786/0.6116, allocations: 0.8561 MB / 1.104 GB, free: 10.91 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/0.6144, allocations: 1.042 MB / 1.105 GB, free: 10.48 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.6162, allocations: 0.86 MB / 1.106 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.6163, allocations: 36.94 kB / 1.106 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.6191, allocations: 0.7257 MB / 1.106 GB, free: 9.848 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003656/0.6195, allocations: 209.6 kB / 1.107 GB, free: 9.742 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009853/0.6205, allocations: 0.5718 MB / 1.107 GB, free: 9.398 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003124/0.6237, allocations: 1.834 MB / 1.109 GB, free: 8.848 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.6237, allocations: 0 / 1.109 GB, free: 8.848 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.335e-06/0.6237, allocations: 3.938 kB / 1.109 GB, free: 8.844 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.937e-05/0.6237, allocations: 1 kB / 1.109 GB, free: 8.844 MB / 0.698 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.002827/0.6266, allocations: 1.294 MB / 1.11 GB, free: 7.953 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.6266, allocations: 10 kB / 1.11 GB, free: 7.953 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004527/0.6271, allocations: 135.6 kB / 1.11 GB, free: 7.891 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/0.6294, allocations: 1.067 MB / 1.111 GB, free: 7.234 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.787e-05/0.6295, allocations: 59.2 kB / 1.111 GB, free: 7.203 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.6296, allocations: 72.34 kB / 1.111 GB, free: 7.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.6315, allocations: 0.793 MB / 1.112 GB, free: 6.805 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/0.6316, allocations: 9.469 kB / 1.112 GB, free: 6.797 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.643e-05/0.6317, allocations: 27.59 kB / 1.112 GB, free: 6.777 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-05/0.6317, allocations: 22.62 kB / 1.112 GB, free: 6.773 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.6333, allocations: 0.5845 MB / 1.113 GB, free: 6.578 MB / 0.698 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.005004/0.6383, allocations: 3.552 MB / 1.116 GB, free: 3.992 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007463/0.6391, allocations: 260.1 kB / 1.117 GB, free: 3.898 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000521/0.6396, allocations: 194.6 kB / 1.117 GB, free: 3.828 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004531/0.6401, allocations: 0.6596 MB / 1.117 GB, free: 3.066 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.6401, allocations: 36.94 kB / 1.117 GB, free: 3.023 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.6401, allocations: 4 kB / 1.117 GB, free: 3.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001405/0.6415, allocations: 0.5377 MB / 1.118 GB, free: 2.824 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.6416, allocations: 54.69 kB / 1.118 GB, free: 2.762 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.643, allocations: 0.917 MB / 1.119 GB, free: 2.371 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.429e-05/0.643, allocations: 31.98 kB / 1.119 GB, free: 2.336 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004276/0.6435, allocations: 0.4891 MB / 1.119 GB, free: 1.941 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.6436, allocations: 114.8 kB / 1.12 GB, free: 1.852 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.6437, allocations: 9.438 kB / 1.12 GB, free: 1.844 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.625e-05/0.6437, allocations: 333.9 kB / 1.12 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/0.6442, allocations: 183.4 kB / 1.12 GB, free: 1.465 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000582/0.6448, allocations: 355.4 kB / 1.12 GB, free: 1.195 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.6458, allocations: 0.5264 MB / 1.121 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.6459, allocations: 1.062 kB / 1.121 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001392/0.6473, allocations: 0.6358 MB / 1.122 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.6473, allocations: 11.25 kB / 1.122 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.6473, allocations: 5.75 kB / 1.122 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.6474, allocations: 7.906 kB / 1.122 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000553/0.6479, allocations: 132.8 kB / 1.122 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/0.648, allocations: 12.22 kB / 1.122 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009448/0.6489, allocations: 115 kB / 1.122 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.429e-05/0.649, allocations: 28.94 kB / 1.122 GB, free: 0.5039 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004047/0.6494, allocations: 275.6 kB / 1.122 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.6496, allocations: 107 kB / 1.122 GB, free: 248 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.6507, allocations: 0.4949 MB / 1.123 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.6507, allocations: 3.688 kB / 1.123 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6507, allocations: 0 / 1.123 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008917/0.6516, allocations: 475.9 kB / 1.123 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/0.654, allocations: 1.371 MB / 1.124 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.654, allocations: 2.344 kB / 1.124 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.6543, allocations: 82.88 kB / 1.125 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.6544, allocations: 2.594 kB / 1.125 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.6544, allocations: 11.86 kB / 1.125 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-06/0.6544, allocations: 6.844 kB / 1.125 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.6544, allocations: 5.688 kB / 1.125 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.6558, allocations: 0.7807 MB / 1.125 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004701/0.6563, allocations: 246.2 kB / 1.126 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.6565, allocations: 16.16 kB / 1.126 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006819/0.6572, allocations: 59.72 kB / 1.126 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.6572, allocations: 26.92 kB / 1.126 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.6573, allocations: 16.14 kB / 1.126 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009783/0.6583, allocations: 0.6395 MB / 1.126 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6583, allocations: 0 / 1.126 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001306/0.6596, allocations: 328.2 kB / 1.127 GB, free: 14.05 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 (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.001028/0.6606, allocations: 391.3 kB / 1.127 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.6617, allocations: 447.3 kB / 1.127 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6617, allocations: 1.75 kB / 1.127 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.6621, allocations: 195.1 kB / 1.128 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/0.6652, allocations: 0.6017 MB / 1.128 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.6682, allocations: 1.977 MB / 1.13 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006679/0.6689, allocations: 1.037 MB / 1.131 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009254/0.6699, allocations: 196.6 kB / 1.131 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.6701, allocations: 78.2 kB / 1.131 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of SimCode: time 5.82e-07/0.6701, allocations: 0 / 1.131 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of Templates: time 0.04164/0.7117, allocations: 20.29 MB / 1.151 GB, free: 2.996 MB / 0.7136 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)