Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8063/0.8063, allocations: 143.8 MB / 159.1 MB, free: 6.52 MB / 122.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.001163/0.001163, allocations: 178.1 kB / 192 MB, free: 6.734 MB / 154.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.423/1.423, allocations: 225.7 MB / 450.4 MB, free: 4.992 MB / 330.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.0009226/0.0009227, allocations: 103.5 kB / 0.5211 GB, free: 1.645 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001673/0.001673, allocations: 278.7 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.000397, allocations: 12.75 kB / 0.6948 GB, free: 59.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1395, allocations: 82.46 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.4721/0.6117, allocations: 125.1 MB / 0.8975 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0287/0.6405, allocations: 32.72 MB / 0.9294 GB, free: 3.629 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.6407, allocations: 1.406 kB / 0.9294 GB, free: 3.629 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.641, allocations: 38.44 kB / 0.9295 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.6413, allocations: 87.7 kB / 0.9295 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01723/0.6586, allocations: 5.297 MB / 0.9347 GB, free: 2.863 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005115/0.6591, allocations: 315.7 kB / 0.935 GB, free: 2.805 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 6.464e-05/0.6592, allocations: 9.156 kB / 0.935 GB, free: 2.805 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004024/0.6596, allocations: 136.2 kB / 0.9351 GB, free: 2.785 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.6598, allocations: 94.59 kB / 0.9352 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.6599, allocations: 7.188 kB / 0.9352 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02373/0.6836, allocations: 10.51 MB / 0.9455 GB, free: 15.97 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.6838, allocations: 39.48 kB / 0.9455 GB, free: 15.96 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.684, allocations: 107 kB / 0.9457 GB, free: 15.92 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01728/0.7012, allocations: 6.162 MB / 0.9517 GB, free: 13.3 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.7013, allocations: 0 / 0.9517 GB, free: 13.3 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7013, allocations: 0 / 0.9517 GB, free: 13.3 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.7013, allocations: 1.859 kB / 0.9517 GB, free: 13.3 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003445/0.7048, allocations: 1.146 MB / 0.9528 GB, free: 12.49 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.7048, allocations: 8.688 kB / 0.9528 GB, free: 12.49 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009813/0.7058, allocations: 86.92 kB / 0.9529 GB, free: 12.46 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.7061, allocations: 233.6 kB / 0.9531 GB, free: 12.23 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.7061, allocations: 13.47 kB / 0.9531 GB, free: 12.23 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.7062, allocations: 20.69 kB / 0.9531 GB, free: 12.22 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.7072, allocations: 446.9 kB / 0.9536 GB, free: 12.06 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.7072, allocations: 1.859 kB / 0.9536 GB, free: 12.06 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.7073, allocations: 15.06 kB / 0.9536 GB, free: 12.06 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.7073, allocations: 9.094 kB / 0.9536 GB, free: 12.05 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.7083, allocations: 0.586 MB / 0.9542 GB, free: 11.91 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.7094, allocations: 0.8728 MB / 0.955 GB, free: 11.17 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007678/0.7102, allocations: 251.5 kB / 0.9553 GB, free: 11.09 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.7103, allocations: 77.61 kB / 0.9553 GB, free: 11.07 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07801/0.7883, allocations: 35.37 MB / 0.9899 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.7884, allocations: 37.81 kB / 0.9899 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.904e-06/0.7884, allocations: 0 / 0.9899 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.001708/0.7901, allocations: 417 kB / 0.9903 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.7902, allocations: 55.41 kB / 0.9903 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.7903, allocations: 134.3 kB / 0.9905 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.7904, allocations: 35.02 kB / 0.9905 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.7905, allocations: 110.9 kB / 0.9906 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.93e-05/0.7906, allocations: 83.81 kB / 0.9907 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/0.7906, allocations: 2.938 kB / 0.9907 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.7907, allocations: 331 kB / 0.991 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.7909, allocations: 84.7 kB / 0.9911 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.7911, allocations: 131 kB / 0.9912 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.7915, allocations: 212.7 kB / 0.9914 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7915, allocations: 4 kB / 0.9914 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006281/0.7922, allocations: 298.1 kB / 0.9917 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.7922, allocations: 8 kB / 0.9917 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.7922, allocations: 0.6875 kB / 0.9917 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.7922, allocations: 5.859 kB / 0.9917 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.7925, allocations: 83.19 kB / 0.9918 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.7925, allocations: 4 kB / 0.9918 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.7927, allocations: 19.25 kB / 0.9918 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.733e-05/0.7928, allocations: 28.8 kB / 0.9919 GB, free: 11.76 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001265/0.7929, allocations: 133.3 kB / 0.992 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.7931, allocations: 15.91 kB / 0.992 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/0.7951, allocations: 2.342 MB / 0.9943 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.7951, allocations: 14.17 kB / 0.9943 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7951, allocations: 0 / 0.9943 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.7951, allocations: 3.938 kB / 0.9943 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.798, allocations: 3.422 MB / 0.9976 GB, free: 7.941 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.798, allocations: 3.938 kB / 0.9976 GB, free: 7.938 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.7983, allocations: 61.25 kB / 0.9977 GB, free: 7.883 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.7983, allocations: 4 kB / 0.9977 GB, free: 7.879 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.7983, allocations: 14.44 kB / 0.9977 GB, free: 7.871 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.7983, allocations: 3.109 kB / 0.9977 GB, free: 7.871 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7983, allocations: 0 / 0.9977 GB, free: 7.871 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007026/0.799, allocations: 0.5403 MB / 0.9983 GB, free: 7.457 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.7992, allocations: 134.8 kB / 0.9984 GB, free: 7.312 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.7992, allocations: 7.25 kB / 0.9984 GB, free: 7.309 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.7995, allocations: 28.27 kB / 0.9984 GB, free: 7.285 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.7995, allocations: 19.84 kB / 0.9984 GB, free: 7.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.7995, allocations: 11.25 kB / 0.9984 GB, free: 7.262 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.148e-05/0.7996, allocations: 110.3 kB / 0.9985 GB, free: 7.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7996, allocations: 0 / 0.9985 GB, free: 7.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004195/0.8038, allocations: 1.626 MB / 1 GB, free: 5.602 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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.00861/0.8124, allocations: 1.898 MB / 1.002 GB, free: 3.875 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005876/0.813, allocations: 328 kB / 1.002 GB, free: 3.652 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.8131, allocations: 4 kB / 1.002 GB, free: 3.648 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00029/0.8134, allocations: 237.4 kB / 1.003 GB, free: 3.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006081/0.814, allocations: 58 kB / 1.003 GB, free: 3.477 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.8151, allocations: 0.7957 MB / 1.003 GB, free: 2.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.8155, allocations: 0.766 MB / 1.004 GB, free: 1.957 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005791/0.8161, allocations: 409 kB / 1.005 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.8162, allocations: 45.78 kB / 1.005 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.8163, allocations: 4 kB / 1.005 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of Templates: time 0.07442/0.8907, allocations: 57.02 MB / 1.06 GB, free: 8.516 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1)