Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.912/1.912, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004782, allocations: 11.98 kB / 264 MB, free: 3.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2923, allocations: 44.51 MB / 308.5 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4864/0.7788, allocations: 125.4 MB / 434 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003004/0.7818, allocations: 2.108 MB / 436.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.604e-05/0.7819, allocations: 3 kB / 436.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.7821, allocations: 23.48 kB / 436.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.7833, allocations: 272.6 kB / 436.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.7836, allocations: 54.5 kB / 436.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.99e-05/0.7837, allocations: 55.95 kB / 436.5 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.7837, allocations: 2.719 kB / 436.5 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.7839, allocations: 46.91 kB / 436.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.04e-05/0.784, allocations: 25.61 kB / 436.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.784, allocations: 2.812 kB / 436.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.7852, allocations: 379.9 kB / 436.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.7852, allocations: 15.41 kB / 436.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.7853, allocations: 38.58 kB / 437 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004745/0.7858, allocations: 203.9 kB / 437.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.7858, allocations: 3.094 kB / 437.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.7858, allocations: 0 / 437.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.7858, allocations: 0 / 437.2 MB, free: 14.73 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001094/0.7869, allocations: 423 kB / 437.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.787, allocations: 8.781 kB / 437.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.414e-05/0.787, allocations: 41.02 kB / 437.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.7982, allocations: 453.5 kB / 438.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.7984, allocations: 172 kB / 438.2 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.7984, allocations: 6 kB / 438.2 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.7986, allocations: 3.25 kB / 438.2 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.7998, allocations: 308.6 kB / 438.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.7999, allocations: 2.781 kB / 438.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.995e-05/0.8, allocations: 3.25 kB / 438.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.8, allocations: 2.406 kB / 438.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.8014, allocations: 281.8 kB / 438.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.8029, allocations: 420.8 kB / 439.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.8046, allocations: 202.6 kB / 439.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.8047, allocations: 3.344 kB / 439.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.8048, allocations: 37.94 kB / 439.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.524e-06/0.8048, allocations: 0 / 439.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.002867/0.8076, allocations: 421.1 kB / 439.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.8077, allocations: 54.72 kB / 439.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.8078, allocations: 100.2 kB / 440 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/0.8079, allocations: 29.08 kB / 440.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.8079, allocations: 92.92 kB / 440.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.98e-05/0.808, allocations: 61.41 kB / 440.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.8081, allocations: 3.25 kB / 440.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.8082, allocations: 326.5 kB / 440.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/0.8087, allocations: 77.53 kB / 440.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004878/0.8092, allocations: 118.3 kB / 440.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/0.8097, allocations: 87.53 kB / 440.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.8097, allocations: 0 / 440.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001632/0.8113, allocations: 245.3 kB / 441.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.8114, allocations: 4.938 kB / 441.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.8115, allocations: 0.875 kB / 441.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.8115, allocations: 2.906 kB / 441.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008038/0.8123, allocations: 48.73 kB / 441.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.8123, allocations: 6.875 kB / 441.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.8128, allocations: 19.66 kB / 441.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/0.8129, allocations: 13.89 kB / 441.2 MB, free: 12.88 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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.0001616/0.8131, allocations: 125 kB / 441.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.8131, allocations: 6.719 kB / 441.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.8145, allocations: 286.8 kB / 441.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.8146, allocations: 2.875 kB / 441.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.8146, allocations: 4 kB / 441.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.8146, allocations: 2.203 kB / 441.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.8166, allocations: 0.5724 MB / 442.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.8166, allocations: 0 / 442.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006141/0.8172, allocations: 47.28 kB / 442.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.8173, allocations: 2.906 kB / 442.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.8173, allocations: 7.281 kB / 442.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.8173, allocations: 0 / 442.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.8173, allocations: 6.359 kB / 442.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.8185, allocations: 331.2 kB / 442.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.8186, allocations: 80.11 kB / 442.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.8186, allocations: 5.953 kB / 442.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/0.8191, allocations: 20.22 kB / 442.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.8192, allocations: 20.31 kB / 442.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.501e-05/0.8193, allocations: 11.56 kB / 442.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.373e-05/0.8193, allocations: 81.41 kB / 442.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.8193, allocations: 0 / 442.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000455/0.8198, allocations: 45.78 kB / 442.8 MB, free: 12.01 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.001551/0.8214, allocations: 0.8807 MB / 443.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.8224, allocations: 195.8 kB / 443.9 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8224, allocations: 0 / 443.9 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005198/0.823, allocations: 105.6 kB / 444 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.8235, allocations: 42.92 kB / 444 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.825, allocations: 353.3 kB / 444.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.8253, allocations: 0.6959 MB / 445 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006868/0.826, allocations: 60.34 kB / 445.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.8263, allocations: 45.86 kB / 445.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of SimCode: time 4.107e-06/0.8263, allocations: 0 / 445.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.8567, allocations: 3.921 MB / 449.1 MB, free: 8.305 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003381/0.8571, allocations: 171.4 kB / 449.2 MB, free: 8.059 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.569/3.427, allocations: 0 / 449.2 MB, free: 8.059 MB / 362.7 MB "" Variables in the reference:time,smoothState.p,der_p,der_T Variables in the result:a,beta,cp,cv,der(m_flow_ext),der(smoothState.T),der(smoothState.p),der(state.T),der_T,der_p,gamma,h_is,k,m_flow_ext,s,smoothState.T,smoothState.p,state.T,state.p,state2.T,state2.p,time