Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7467/0.7467, allocations: 143.8 MB / 159.1 MB, free: 6.504 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.0008995/0.0008997, allocations: 177.4 kB / 192 MB, free: 6.723 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.347/1.347, allocations: 225.7 MB / 450.4 MB, free: 5.035 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.0008267/0.0008268, allocations: 103.5 kB / 0.5211 GB, free: 1.691 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.001638/0.001638, allocations: 276.2 kB / 0.6025 GB, free: 49.32 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004027, allocations: 24.16 kB / 0.6948 GB, free: 59.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1457, allocations: 82.45 MB / 0.7753 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4332/0.5789, allocations: 124.4 MB / 0.8968 GB, free: 0.832 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0001502/0.5791, allocations: 55.8 kB / 0.8969 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.967e-05/0.5791, allocations: 0 / 0.8969 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.5793, allocations: 4.562 kB / 0.8969 GB, free: 0.8203 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 7.678e-05/0.5794, allocations: 10.3 kB / 0.8969 GB, free: 0.8164 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007535/0.5801, allocations: 220.2 kB / 0.8971 GB, free: 0.7812 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 8.283e-05/0.5802, allocations: 63.33 kB / 0.8971 GB, free: 0.7734 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.5803, allocations: 8 kB / 0.8972 GB, free: 0.7656 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 3.953e-05/0.5803, allocations: 22.2 kB / 0.8972 GB, free: 0.7656 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 6.892e-05/0.5804, allocations: 12.95 kB / 0.8972 GB, free: 0.7656 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.5804, allocations: 2.875 kB / 0.8972 GB, free: 0.7656 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004408/0.5808, allocations: 232.9 kB / 0.8974 GB, free: 0.7383 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 4.213e-05/0.5809, allocations: 9.719 kB / 0.8974 GB, free: 0.7383 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.5809, allocations: 32.41 kB / 0.8975 GB, free: 0.707 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.5812, allocations: 193.1 kB / 0.8976 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5813, allocations: 0 / 0.8976 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5813, allocations: 0 / 0.8976 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.5813, allocations: 4 kB / 0.8976 GB, free: 0.6914 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003201/0.5816, allocations: 352.6 kB / 0.898 GB, free: 336 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.5816, allocations: 10.81 kB / 0.898 GB, free: 336 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.5817, allocations: 1.562 kB / 0.898 GB, free: 336 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.037e-05/0.5818, allocations: 167.6 kB / 0.8981 GB, free: 132 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.907e-05/0.5818, allocations: 32.81 kB / 0.8982 GB, free: 100 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.5818, allocations: 3.938 kB / 0.8982 GB, free: 96 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.582, allocations: 51.2 kB / 0.8982 GB, free: 56 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.582, allocations: 0 / 0.8982 GB, free: 56 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.582, allocations: 3.938 kB / 0.8982 GB, free: 56 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.582, allocations: 0 / 0.8982 GB, free: 56 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.5821, allocations: 13.69 kB / 0.8982 GB, free: 56 kB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007527/0.5828, allocations: 0.5956 MB / 0.8988 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.566e-05/0.5829, allocations: 26.45 kB / 0.8989 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.402e-05/0.5829, allocations: 9.5 kB / 0.8989 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002076/0.5831, allocations: 334.9 kB / 0.8992 GB, free: 15 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.5832, allocations: 33.44 kB / 0.8992 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.5832, allocations: 0 / 0.8992 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001386/0.5833, allocations: 36.36 kB / 0.8993 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.5833, allocations: 51.53 kB / 0.8993 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.5834, allocations: 106.2 kB / 0.8994 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.5835, allocations: 29.64 kB / 0.8994 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.5835, allocations: 93.89 kB / 0.8995 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.81e-06/0.5835, allocations: 0 / 0.8995 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.5835, allocations: 3.938 kB / 0.8995 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5836, allocations: 314.8 kB / 0.8998 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.336e-05/0.5837, allocations: 7.469 kB / 0.8998 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.133e-05/0.5837, allocations: 22.12 kB / 0.8999 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.089e-05/0.5837, allocations: 18.97 kB / 0.8999 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.5837, allocations: 0 / 0.8999 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.022e-05/0.5838, allocations: 54.52 kB / 0.8999 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.5838, allocations: 7.031 kB / 0.8999 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5838, allocations: 2 kB / 0.8999 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.5839, allocations: 1.594 kB / 0.8999 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.172e-05/0.5839, allocations: 9.938 kB / 0.8999 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.5839, allocations: 3.938 kB / 0.8999 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.794e-05/0.5839, allocations: 4.516 kB / 0.8999 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.584, allocations: 0 / 0.8999 GB, free: 14.24 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 8.019e-05/0.584, allocations: 112.6 kB / 0.9001 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.5841, allocations: 2.812 kB / 0.9001 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.5842, allocations: 122.1 kB / 0.9002 GB, free: 14 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.001e-05/0.5843, allocations: 180.3 kB / 0.9003 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.76e-05/0.5843, allocations: 185.8 kB / 0.9005 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.509e-05/0.5844, allocations: 176.3 kB / 0.9007 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.5846, allocations: 410.2 kB / 0.9011 GB, free: 13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.204e-05/0.5847, allocations: 103.9 kB / 0.9012 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.358e-05/0.5847, allocations: 104 kB / 0.9013 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-05/0.5848, allocations: 186 kB / 0.9015 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.534e-05/0.5849, allocations: 180.1 kB / 0.9016 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.688e-05/0.5849, allocations: 184.6 kB / 0.9018 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.068e-05/0.585, allocations: 179.4 kB / 0.902 GB, free: 12.06 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.5851, allocations: 317.6 kB / 0.9023 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.5852, allocations: 184.7 kB / 0.9025 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.922e-05/0.5853, allocations: 182.7 kB / 0.9026 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.5854, allocations: 106.5 kB / 0.9027 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.861e-05/0.5855, allocations: 179 kB / 0.9029 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.5856, allocations: 115.6 kB / 0.903 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.195e-05/0.5856, allocations: 80.59 kB / 0.9031 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5856, allocations: 0 / 0.9031 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002896/0.5859, allocations: 64.53 kB / 0.9032 GB, free: 10.86 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002967/0.5862, allocations: 262.4 kB / 0.9034 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.23e-05/0.5863, allocations: 8.859 kB / 0.9034 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5863, allocations: 0 / 0.9034 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.178e-06/0.5863, allocations: 7.875 kB / 0.9034 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.5867, allocations: 0.5216 MB / 0.9039 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.587, allocations: 186.8 kB / 0.9041 GB, free: 9.969 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.5872, allocations: 0.6747 MB / 0.9048 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.88e-05/0.5873, allocations: 5.469 kB / 0.9048 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.5873, allocations: 14.44 kB / 0.9048 GB, free: 9.262 MB / 0.5573 GB Notification: Performance of SimCode: time 2.3e-07/0.5873, allocations: 0 / 0.9048 GB, free: 9.262 MB / 0.5573 GB Notification: Performance of Templates: time 0.003403/0.5907, allocations: 1.284 MB / 0.906 GB, free: 9.066 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)