Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7455/0.7455, allocations: 131 MB / 146.3 MB, free: 1.305 MB / 106.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.0008796/0.0008795, allocations: 184.2 kB / 176.4 MB, free: 4.902 MB / 138.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.4/1.4, allocations: 225.7 MB / 432 MB, free: 8.738 MB / 314.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.0007196/0.0007195, allocations: 93.31 kB / 0.5003 GB, free: 9.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002791/0.0002792, allocations: 16 kB / 0.5885 GB, free: 72.71 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1256, allocations: 79.59 MB / 0.6663 GB, free: 8.957 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0435/0.1692, allocations: 48.78 MB / 0.7139 GB, free: 7.332 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2657/0.435, allocations: 14.27 MB / 0.7278 GB, free: 17.49 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.4369, allocations: 50.88 kB / 0.7279 GB, free: 17.49 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001764/0.4387, allocations: 0.5259 MB / 0.7284 GB, free: 17.48 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005359/0.4441, allocations: 1.729 MB / 0.7301 GB, free: 17.41 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002793/0.4469, allocations: 0.9563 MB / 0.731 GB, free: 17.38 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.006412/0.4533, allocations: 4.626 MB / 0.7355 GB, free: 17.38 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.4548, allocations: 0.8579 MB / 0.7364 GB, free: 17.25 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002381/0.4572, allocations: 1.04 MB / 0.7374 GB, free: 17.24 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.4588, allocations: 0.856 MB / 0.7382 GB, free: 17.2 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.4589, allocations: 36.22 kB / 0.7382 GB, free: 17.2 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001991/0.4609, allocations: 0.7162 MB / 0.7389 GB, free: 17.11 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.4611, allocations: 188.9 kB / 0.7391 GB, free: 17.07 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007045/0.4618, allocations: 0.5726 MB / 0.7397 GB, free: 16.86 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.4644, allocations: 1.88 MB / 0.7415 GB, free: 16.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4644, allocations: 1.094 kB / 0.7415 GB, free: 16.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4644, allocations: 0 / 0.7415 GB, free: 16.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.4645, allocations: 0 / 0.7415 GB, free: 16.6 MB / 490.7 MB 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.002078/0.4665, allocations: 1.295 MB / 0.7428 GB, free: 15.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.4666, allocations: 8.875 kB / 0.7428 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002989/0.4669, allocations: 141.2 kB / 0.7429 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.4683, allocations: 1.057 MB / 0.744 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.4684, allocations: 52.62 kB / 0.744 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.812e-05/0.4685, allocations: 69.38 kB / 0.7441 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.4698, allocations: 0.7782 MB / 0.7448 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.4698, allocations: 4.969 kB / 0.7448 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.808e-05/0.4699, allocations: 31.11 kB / 0.7449 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/0.4699, allocations: 21.44 kB / 0.7449 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.471, allocations: 0.5812 MB / 0.7455 GB, free: 15.22 MB / 490.7 MB 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.00334/0.4744, allocations: 3.529 MB / 0.7489 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005924/0.475, allocations: 243.6 kB / 0.7491 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.4753, allocations: 154.5 kB / 0.7493 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003541/0.4756, allocations: 0.6615 MB / 0.7499 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.4757, allocations: 44.06 kB / 0.75 GB, free: 12.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 2.284e-06/0.4757, allocations: 3.938 kB / 0.75 GB, free: 12.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.001072/0.4768, allocations: 0.5042 MB / 0.7505 GB, free: 12.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.4768, allocations: 54.97 kB / 0.7505 GB, free: 12.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.4779, allocations: 0.9241 MB / 0.7514 GB, free: 12.19 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.4779, allocations: 30.17 kB / 0.7515 GB, free: 12.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.4782, allocations: 0.4977 MB / 0.7519 GB, free: 11.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.251e-05/0.4783, allocations: 105.4 kB / 0.752 GB, free: 11.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/0.4783, allocations: 7.438 kB / 0.752 GB, free: 11.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.016e-05/0.4784, allocations: 325.6 kB / 0.7524 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.4787, allocations: 173.2 kB / 0.7525 GB, free: 11.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.4791, allocations: 354.7 kB / 0.7529 GB, free: 11.37 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000714/0.4799, allocations: 0.5151 MB / 0.7534 GB, free: 11.15 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4799, allocations: 1.969 kB / 0.7534 GB, free: 11.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001032/0.4809, allocations: 0.6276 MB / 0.754 GB, free: 11.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.4809, allocations: 7.125 kB / 0.754 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.481, allocations: 4.969 kB / 0.754 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.481, allocations: 9.062 kB / 0.754 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.4815, allocations: 131.1 kB / 0.7541 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.4815, allocations: 7.406 kB / 0.7541 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007546/0.4823, allocations: 121.4 kB / 0.7542 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/0.4823, allocations: 27.77 kB / 0.7543 GB, free: 10.95 MB / 490.7 MB 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 (64): * Single equations (assignments): 64 * 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.000316/0.4826, allocations: 272.5 kB / 0.7545 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.4827, allocations: 98.25 kB / 0.7546 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009759/0.4837, allocations: 467.3 kB / 0.7551 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.4838, allocations: 10 kB / 0.7551 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4838, allocations: 4 kB / 0.7551 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005679/0.4843, allocations: 442.9 kB / 0.7555 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.486, allocations: 1.259 MB / 0.7567 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.486, allocations: 3.938 kB / 0.7567 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.4863, allocations: 75.61 kB / 0.7568 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4863, allocations: 3.938 kB / 0.7568 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.4863, allocations: 10.25 kB / 0.7568 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.4864, allocations: 2.25 kB / 0.7568 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4864, allocations: 0 / 0.7568 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000974/0.4873, allocations: 0.723 MB / 0.7575 GB, free: 9.992 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/0.4876, allocations: 233.8 kB / 0.7578 GB, free: 9.844 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.4877, allocations: 7.625 kB / 0.7578 GB, free: 9.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004752/0.4882, allocations: 52.16 kB / 0.7578 GB, free: 9.824 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.4883, allocations: 20.12 kB / 0.7578 GB, free: 9.816 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.4883, allocations: 15.45 kB / 0.7579 GB, free: 9.812 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007095/0.489, allocations: 0.6368 MB / 0.7585 GB, free: 9.609 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.489, allocations: 4.719 kB / 0.7585 GB, free: 9.605 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009825/0.49, allocations: 321.7 kB / 0.7588 GB, free: 9.559 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 27 * 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.0006741/0.4907, allocations: 397.2 kB / 0.7592 GB, free: 9.359 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007751/0.4915, allocations: 410.9 kB / 0.7596 GB, free: 9.289 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4915, allocations: 3.938 kB / 0.7596 GB, free: 9.285 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.4918, allocations: 181.3 kB / 0.7597 GB, free: 9.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/0.4942, allocations: 0.5956 MB / 0.7603 GB, free: 9.035 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.4963, allocations: 1.936 MB / 0.7622 GB, free: 7.812 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.4966, allocations: 1.03 MB / 0.7632 GB, free: 6.973 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006962/0.4973, allocations: 184.5 kB / 0.7634 GB, free: 6.883 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.4975, allocations: 75.36 kB / 0.7635 GB, free: 6.871 MB / 490.7 MB Notification: Performance of SimCode: time 1.433e-06/0.4975, allocations: 4 kB / 0.7635 GB, free: 6.867 MB / 490.7 MB Notification: Performance of Templates: time 0.03023/0.5277, allocations: 19.86 MB / 0.7829 GB, free: 8.043 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)