Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.283/2.283, allocations: 254.9 MB / 269.9 MB, free: 9.633 MB / 218.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.001337/0.001336, allocations: 196.6 kB / 329.5 MB, free: 1.164 MB / 250.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 2.596/2.596, allocations: 225.6 MB / 0.6001 GB, free: 2.199 MB / 426.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.001353/0.001353, allocations: 100.8 kB / 0.7074 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.0004794, allocations: 16.94 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1973, allocations: 109.1 MB / 0.9308 GB, free: 25.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04996/0.2473, allocations: 38.3 MB / 0.9682 GB, free: 2.746 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02037/0.2678, allocations: 9.632 MB / 0.9776 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.2698, allocations: 43.69 kB / 0.9776 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002247/0.272, allocations: 453 kB / 0.978 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00688/0.2789, allocations: 1.473 MB / 0.9795 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004571/0.2836, allocations: 0.8341 MB / 0.9803 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007256/0.2908, allocations: 3.87 MB / 0.9841 GB, free: 2.406 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001974/0.2929, allocations: 0.7923 MB / 0.9848 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003076/0.296, allocations: 0.9916 MB / 0.9858 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00207/0.2981, allocations: 0.801 MB / 0.9866 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002228/0.2984, allocations: 40 kB / 0.9866 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.3008, allocations: 494.8 kB / 0.9871 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003634/0.3012, allocations: 199.1 kB / 0.9873 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005321/0.3018, allocations: 253.1 kB / 0.9875 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002739/0.3045, allocations: 1.36 MB / 0.9889 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3046, allocations: 0 / 0.9889 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.535e-06/0.3046, allocations: 0 / 0.9889 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.893e-05/0.3046, allocations: 0 / 0.9889 GB, free: 13.46 MB / 0.6355 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.00336/0.308, allocations: 1.309 MB / 0.9901 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.308, allocations: 8.031 kB / 0.9901 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004973/0.3085, allocations: 135.4 kB / 0.9903 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002717/0.3113, allocations: 1.026 MB / 0.9913 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-05/0.3114, allocations: 58 kB / 0.9913 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.3115, allocations: 75.94 kB / 0.9914 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.3137, allocations: 0.7827 MB / 0.9922 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/0.3138, allocations: 7.875 kB / 0.9922 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.3139, allocations: 32 kB / 0.9922 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/0.3139, allocations: 20 kB / 0.9922 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.3159, allocations: 0.5906 MB / 0.9928 GB, free: 9.297 MB / 0.6355 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.006395/0.3223, allocations: 3.536 MB / 0.9963 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000937/0.3232, allocations: 266.4 kB / 0.9965 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006212/0.3239, allocations: 192.6 kB / 0.9967 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007166/0.3246, allocations: 0.6532 MB / 0.9973 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.3247, allocations: 43.09 kB / 0.9974 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=31): time 3.206e-06/0.3247, allocations: 0 / 0.9974 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31): time 0.002098/0.3268, allocations: 0.5391 MB / 0.9979 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.3269, allocations: 55.41 kB / 0.998 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.3287, allocations: 0.9214 MB / 0.9989 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.048e-05/0.3288, allocations: 33.7 kB / 0.9989 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005857/0.3294, allocations: 0.4917 MB / 0.9994 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.3296, allocations: 106.5 kB / 0.9995 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.3296, allocations: 8 kB / 0.9995 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3298, allocations: 325.9 kB / 0.9998 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006575/0.3305, allocations: 185 kB / 1 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008222/0.3313, allocations: 359 kB / 1 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007436/0.3321, allocations: 227.8 kB / 1.001 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/0.3321, allocations: 4 kB / 1.001 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001983/0.3341, allocations: 0.6368 MB / 1.001 GB, free: 220 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.5e-05/0.3341, allocations: 8 kB / 1.001 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.3342, allocations: 4 kB / 1.001 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.3342, allocations: 8 kB / 1.001 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008674/0.3351, allocations: 127.8 kB / 1.001 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/0.3351, allocations: 15.92 kB / 1.001 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.3364, allocations: 123.4 kB / 1.001 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.626e-05/0.3365, allocations: 27.94 kB / 1.001 GB, free: 15.91 MB / 0.6511 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.0006069/0.3372, allocations: 269.6 kB / 1.002 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.3374, allocations: 106.8 kB / 1.002 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.3391, allocations: 0.4886 MB / 1.002 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.3391, allocations: 11.98 kB / 1.002 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3391, allocations: 3.938 kB / 1.002 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001236/0.3404, allocations: 466.1 kB / 1.003 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003421/0.3438, allocations: 1.365 MB / 1.004 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.3439, allocations: 4 kB / 1.004 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006561/0.3445, allocations: 87.98 kB / 1.004 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.3445, allocations: 4 kB / 1.004 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.3446, allocations: 11.98 kB / 1.004 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.3446, allocations: 0 / 1.004 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.3446, allocations: 4 kB / 1.004 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.3469, allocations: 0.7908 MB / 1.005 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006073/0.3476, allocations: 243.7 kB / 1.005 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.3478, allocations: 12.06 kB / 1.005 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.3489, allocations: 59.88 kB / 1.005 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.705e-05/0.349, allocations: 19.97 kB / 1.005 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.158e-05/0.349, allocations: 19.98 kB / 1.005 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001395/0.3504, allocations: 0.6352 MB / 1.006 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/0.3505, allocations: 0 / 1.006 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001555/0.352, allocations: 331.4 kB / 1.006 GB, free: 10.83 MB / 0.6511 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.001043/0.3531, allocations: 371.5 kB / 1.007 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001592/0.3547, allocations: 440.8 kB / 1.007 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.3548, allocations: 0 / 1.007 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006803/0.3555, allocations: 197.6 kB / 1.007 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005418/0.3609, allocations: 0.5991 MB / 1.008 GB, free: 9.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.3652, allocations: 1.946 MB / 1.01 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008827/0.3661, allocations: 1.036 MB / 1.011 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001318/0.3675, allocations: 196.4 kB / 1.011 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/0.3678, allocations: 79.36 kB / 1.011 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of SimCode: time 1.333e-06/0.3678, allocations: 4 kB / 1.011 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of Templates: time 0.0569/0.4247, allocations: 19.48 MB / 1.03 GB, free: 2.742 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)