Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.818/1.818, allocations: 306.1 MB / 321.4 MB, free: 10.68 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.0009615/0.0009615, allocations: 179.2 kB / 393.1 MB, free: 4.062 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.372/1.372, allocations: 225.7 MB / 0.6743 GB, free: 12.5 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.0009168/0.0009164, allocations: 93.45 kB / 0.7935 GB, free: 40.2 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003183, allocations: 15.98 kB / 0.9224 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5364/0.5367, allocations: 121.3 MB / 1.041 GB, free: 59.03 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.05493/0.5917, allocations: 76.65 MB / 1.116 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02773/0.6195, allocations: 25.71 MB / 1.141 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003988/0.6235, allocations: 89.84 kB / 1.141 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003701/0.6272, allocations: 1.017 MB / 1.142 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.6376, allocations: 3.357 MB / 1.145 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.005358/0.643, allocations: 1.913 MB / 1.147 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01084/0.6538, allocations: 8.863 MB / 1.156 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003409/0.6573, allocations: 1.676 MB / 1.157 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004927/0.6622, allocations: 1.937 MB / 1.159 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004081/0.6664, allocations: 1.696 MB / 1.161 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0007226/0.6671, allocations: 74.19 kB / 1.161 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005477/0.6726, allocations: 1.365 MB / 1.162 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001568/0.6742, allocations: 395.9 kB / 1.163 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.004627/0.6789, allocations: 1.12 MB / 1.164 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.008696/0.6876, allocations: 3.56 MB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.148e-05/0.6876, allocations: 4 kB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.845e-06/0.6877, allocations: 4 kB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.759e-05/0.6878, allocations: 0 / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005254/0.693, allocations: 2.283 MB / 1.169 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.6931, allocations: 8.641 kB / 1.169 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006558/0.6937, allocations: 265.5 kB / 1.17 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003499/0.6973, allocations: 1.944 MB / 1.172 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.316e-05/0.6974, allocations: 106.7 kB / 1.172 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.6976, allocations: 148.7 kB / 1.172 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003044/0.7006, allocations: 1.523 MB / 1.173 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/0.7007, allocations: 7.938 kB / 1.173 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.7008, allocations: 56.66 kB / 1.173 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.414e-05/0.7008, allocations: 41.41 kB / 1.173 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/0.7033, allocations: 1.155 MB / 1.175 GB, free: 8.75 MB / 0.7448 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.009499/0.7128, allocations: 7.598 MB / 1.182 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.7143, allocations: 495.5 kB / 1.182 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009361/0.7152, allocations: 348.1 kB / 1.183 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/0.7164, allocations: 1.156 MB / 1.184 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/0.7165, allocations: 43.73 kB / 1.184 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=59): time 3.697e-06/0.7165, allocations: 0 / 1.184 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of matching and sorting (n=59): time 0.003704/0.7202, allocations: 1.025 MB / 1.185 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.7203, allocations: 59.97 kB / 1.185 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003918/0.7242, allocations: 1.719 MB / 1.187 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000234/0.7245, allocations: 45.7 kB / 1.187 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.7255, allocations: 0.9159 MB / 1.188 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/0.7258, allocations: 224.9 kB / 1.188 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.7259, allocations: 20 kB / 1.188 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.7261, allocations: 349.9 kB / 1.188 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.7271, allocations: 350.4 kB / 1.189 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.7284, allocations: 0.7133 MB / 1.189 GB, free: 9.859 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/0.7306, allocations: 1.036 MB / 1.19 GB, free: 8.684 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.7307, allocations: 8 kB / 1.19 GB, free: 8.676 MB / 0.7605 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003364/0.734, allocations: 1.249 MB / 1.192 GB, free: 7.422 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.7341, allocations: 8.875 kB / 1.192 GB, free: 7.414 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/0.7341, allocations: 11.98 kB / 1.192 GB, free: 7.402 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.123e-05/0.7341, allocations: 27.88 kB / 1.192 GB, free: 7.375 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/0.7356, allocations: 319.5 kB / 1.192 GB, free: 7.062 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.977e-05/0.7357, allocations: 19.94 kB / 1.192 GB, free: 7.043 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/0.738, allocations: 246.4 kB / 1.192 GB, free: 6.801 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.7381, allocations: 51.98 kB / 1.192 GB, free: 6.75 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.001145/0.7393, allocations: 437.3 kB / 1.193 GB, free: 6.312 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000457/0.7398, allocations: 193.7 kB / 1.193 GB, free: 6.121 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.7423, allocations: 0.9083 MB / 1.194 GB, free: 5.203 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/0.7423, allocations: 8 kB / 1.194 GB, free: 5.195 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.7423, allocations: 0 / 1.194 GB, free: 5.195 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001895/0.7442, allocations: 0.8386 MB / 1.194 GB, free: 4.312 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006074/0.7503, allocations: 2.462 MB / 1.197 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.7504, allocations: 7.875 kB / 1.197 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.7515, allocations: 212 kB / 1.197 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.7516, allocations: 4 kB / 1.197 GB, free: 1.535 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.66e-05/0.7516, allocations: 19.98 kB / 1.197 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.998e-06/0.7517, allocations: 4 kB / 1.197 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.7517, allocations: 7.938 kB / 1.197 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003464/0.7551, allocations: 1.394 MB / 1.198 GB, free: 68 kB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/0.7565, allocations: 406.2 kB / 1.199 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003091/0.7568, allocations: 12 kB / 1.199 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/0.7584, allocations: 127.7 kB / 1.199 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.7586, allocations: 52.48 kB / 1.199 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.7587, allocations: 39.97 kB / 1.199 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002637/0.7614, allocations: 1.184 MB / 1.2 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7614, allocations: 0 / 1.2 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002596/0.764, allocations: 0.6434 MB / 1.201 GB, free: 13.57 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.00157/0.7656, allocations: 0.6015 MB / 1.201 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002412/0.768, allocations: 0.8438 MB / 1.202 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.768, allocations: 0 / 1.202 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.7691, allocations: 379.5 kB / 1.203 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009371/0.7785, allocations: 1.213 MB / 1.204 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007979/0.7865, allocations: 3.794 MB / 1.208 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001608/0.7882, allocations: 1.401 MB / 1.209 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003747/0.7919, allocations: 388.5 kB / 1.209 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008339/0.7928, allocations: 155.3 kB / 1.209 GB, free: 4.73 MB / 0.7761 GB Notification: Performance of SimCode: time 1.352e-06/0.7928, allocations: 0 / 1.209 GB, free: 4.73 MB / 0.7761 GB Notification: Performance of Templates: time 0.07447/0.8673, allocations: 40.32 MB / 1.249 GB, free: 13.02 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)