Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.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.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.722/1.722, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.001489/0.001489, allocations: 175.5 kB / 393.1 MB, free: 4.09 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.376/1.376, allocations: 225.7 MB / 0.6743 GB, free: 12.51 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.001062/0.001062, allocations: 95.8 kB / 0.7935 GB, free: 40.19 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003607, allocations: 8 kB / 0.9224 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6207/0.6211, allocations: 121.3 MB / 1.041 GB, free: 59.09 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001168/0.6223, allocations: 0.9896 MB / 1.042 GB, free: 58.41 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1359/0.7583, allocations: 127.2 MB / 1.166 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.611e-05/0.7584, allocations: 0 / 1.166 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.345e-05/0.7584, allocations: 0 / 1.166 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.992e-05/0.7585, allocations: 8.438 kB / 1.166 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.7598, allocations: 370 kB / 1.166 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.7599, allocations: 50.2 kB / 1.166 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.53e-05/0.76, allocations: 2.188 kB / 1.166 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.32e-05/0.7601, allocations: 23.72 kB / 1.166 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.7602, allocations: 22.02 kB / 1.166 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.7602, allocations: 2.031 kB / 1.166 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.7619, allocations: 0.7929 MB / 1.167 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.7619, allocations: 10.23 kB / 1.167 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.129e-05/0.762, allocations: 49.03 kB / 1.167 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005987/0.7626, allocations: 443.1 kB / 1.168 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.7626, allocations: 1.031 kB / 1.168 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7626, allocations: 0 / 1.168 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.7626, allocations: 0 / 1.168 GB, free: 14.65 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000468/0.7631, allocations: 363.5 kB / 1.168 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.7631, allocations: 9.531 kB / 1.168 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.7633, allocations: 8.938 kB / 1.168 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.7634, allocations: 168.9 kB / 1.168 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.7634, allocations: 1.344 kB / 1.168 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.7635, allocations: 11.97 kB / 1.168 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.7637, allocations: 52.59 kB / 1.168 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.7637, allocations: 0 / 1.168 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.7637, allocations: 4.938 kB / 1.168 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.7637, allocations: 0.9688 kB / 1.168 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.227e-05/0.7638, allocations: 24.78 kB / 1.168 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.764, allocations: 164 kB / 1.168 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.7641, allocations: 55.66 kB / 1.169 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.7642, allocations: 18.3 kB / 1.169 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/0.7743, allocations: 3.212 MB / 1.172 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.7743, allocations: 34.56 kB / 1.172 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.764e-06/0.7743, allocations: 0 / 1.172 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.035/0.8093, allocations: 14.24 MB / 1.186 GB, free: 116 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.8094, allocations: 56.02 kB / 1.186 GB, free: 48 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.655e-05/0.8095, allocations: 95.22 kB / 1.186 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.8095, allocations: 29.64 kB / 1.186 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.8096, allocations: 88.08 kB / 1.186 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.8096, allocations: 42.92 kB / 1.186 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.8096, allocations: 128 / 1.186 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.8098, allocations: 324.3 kB / 1.186 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.286e-05/0.8098, allocations: 23.38 kB / 1.186 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.479e-05/0.8099, allocations: 28.3 kB / 1.186 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.81, allocations: 59.16 kB / 1.186 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.81, allocations: 0 / 1.186 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002017/0.8102, allocations: 100.9 kB / 1.186 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.8102, allocations: 7.906 kB / 1.186 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.8102, allocations: 0 / 1.186 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.8103, allocations: 4.656 kB / 1.186 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.8104, allocations: 39.06 kB / 1.186 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.8104, allocations: 0 / 1.186 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.591e-05/0.8104, allocations: 0 / 1.186 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.8104, allocations: 4.703 kB / 1.186 GB, free: 15.21 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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 7.815e-05/0.8105, allocations: 124.8 kB / 1.187 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.8106, allocations: 0 / 1.187 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.8108, allocations: 130.2 kB / 1.187 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8108, allocations: 0 / 1.187 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8109, allocations: 0 / 1.187 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8109, allocations: 1.172 kB / 1.187 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.811, allocations: 177.6 kB / 1.187 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.811, allocations: 4 kB / 1.187 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.8111, allocations: 18.86 kB / 1.187 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.8111, allocations: 4 kB / 1.187 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.8112, allocations: 8.891 kB / 1.187 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8112, allocations: 0 / 1.187 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8112, allocations: 0.5156 kB / 1.187 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.8115, allocations: 160.4 kB / 1.187 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-05/0.8115, allocations: 89.98 kB / 1.187 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.8116, allocations: 4 kB / 1.187 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.8117, allocations: 19.09 kB / 1.187 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.8118, allocations: 6.625 kB / 1.187 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.8118, allocations: 9.266 kB / 1.187 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 2.758e-05/0.8118, allocations: 75.28 kB / 1.187 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8118, allocations: 3.938 kB / 1.187 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002398/0.8142, allocations: 0.5673 MB / 1.188 GB, free: 13.78 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.003229/0.8175, allocations: 363.4 kB / 1.188 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.8177, allocations: 67.77 kB / 1.188 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.8177, allocations: 4 kB / 1.188 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.487e-05/0.8178, allocations: 38.44 kB / 1.188 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.818, allocations: 12.73 kB / 1.188 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006741/0.8187, allocations: 413.3 kB / 1.189 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.819, allocations: 0.682 MB / 1.189 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.8191, allocations: 26.84 kB / 1.189 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.8191, allocations: 16 kB / 1.189 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of SimCode: time 3.11e-07/0.8191, allocations: 0 / 1.189 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of Templates: time 0.03563/0.8548, allocations: 24.21 MB / 1.213 GB, free: 4.879 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1)