Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.86/3.86, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.333e-05/2.346e-05, allocations: 4.156 kB / 0.5325 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2059, allocations: 98.73 MB / 0.6289 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2483/0.4543, allocations: 125.5 MB / 0.7514 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.4546, allocations: 83.88 kB / 0.7515 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01299/0.4676, allocations: 2.638 MB / 0.7541 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4677, allocations: 4 kB / 0.7541 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.4677, allocations: 0 / 0.7541 GB, free: 8.746 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004695/0.4682, allocations: 359.1 kB / 0.7544 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.4683, allocations: 8.031 kB / 0.7544 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.4683, allocations: 7.953 kB / 0.7544 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.4684, allocations: 167 kB / 0.7546 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.34e-05/0.4685, allocations: 29.7 kB / 0.7546 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.4686, allocations: 0 / 0.7546 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.398e-05/0.4687, allocations: 8 kB / 0.7546 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.692e-05/0.4688, allocations: 41.69 kB / 0.7547 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.4688, allocations: 0 / 0.7547 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.4688, allocations: 0 / 0.7547 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.4688, allocations: 7.953 kB / 0.7547 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.469, allocations: 138.2 kB / 0.7548 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.4692, allocations: 38.58 kB / 0.7549 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.4693, allocations: 12.8 kB / 0.7549 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003438/0.4696, allocations: 190.3 kB / 0.755 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.4697, allocations: 34.56 kB / 0.7551 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.4697, allocations: 0 / 0.7551 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0007293/0.4704, allocations: 93.53 kB / 0.7552 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.4705, allocations: 51.41 kB / 0.7552 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.343e-05/0.4706, allocations: 101 kB / 0.7553 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.4706, allocations: 25.7 kB / 0.7553 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.4706, allocations: 84.14 kB / 0.7554 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.4707, allocations: 7.906 kB / 0.7554 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.4707, allocations: 0 / 0.7554 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4708, allocations: 315.4 kB / 0.7557 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.934e-05/0.4708, allocations: 8 kB / 0.7557 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.112e-05/0.4709, allocations: 4 kB / 0.7557 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000547/0.4714, allocations: 63.86 kB / 0.7558 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.4714, allocations: 0 / 0.7558 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0006206/0.4721, allocations: 97.53 kB / 0.7559 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.4721, allocations: 7.938 kB / 0.7559 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4721, allocations: 0 / 0.7559 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4722, allocations: 4 kB / 0.7559 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.292e-05/0.4723, allocations: 7.984 kB / 0.7559 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.4723, allocations: 0 / 0.7559 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.199e-05/0.4723, allocations: 7.938 kB / 0.7559 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.4723, allocations: 0 / 0.7559 GB, free: 6.625 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.606e-05/0.4724, allocations: 108.9 kB / 0.756 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006181/0.4731, allocations: 97.56 kB / 0.7561 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.4731, allocations: 4 kB / 0.7561 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007133/0.4738, allocations: 101.7 kB / 0.7562 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.4738, allocations: 4 kB / 0.7562 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4739, allocations: 0 / 0.7562 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4739, allocations: 0 / 0.7562 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.474, allocations: 146.1 kB / 0.7564 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4741, allocations: 0 / 0.7564 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.479e-05/0.4741, allocations: 8 kB / 0.7564 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4742, allocations: 3.938 kB / 0.7564 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.4742, allocations: 0 / 0.7564 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4742, allocations: 0 / 0.7564 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.4742, allocations: 4 kB / 0.7564 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006644/0.4749, allocations: 129.4 kB / 0.7565 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-05/0.475, allocations: 85.11 kB / 0.7566 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.475, allocations: 0 / 0.7566 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.4751, allocations: 3.984 kB / 0.7566 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.4752, allocations: 8.031 kB / 0.7566 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.4752, allocations: 0 / 0.7566 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.137e-05/0.4752, allocations: 83.28 kB / 0.7567 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4752, allocations: 0 / 0.7567 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003322/0.4756, allocations: 35.92 kB / 0.7567 GB, free: 5.727 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.001192/0.4768, allocations: 0.6982 MB / 0.7574 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.4769, allocations: 16 kB / 0.7574 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.4769, allocations: 0 / 0.7574 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.461e-05/0.477, allocations: 12 kB / 0.7574 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.4772, allocations: 11.98 kB / 0.7574 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000403/0.4776, allocations: 109.4 kB / 0.7575 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.478, allocations: 0.6807 MB / 0.7582 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.669e-05/0.4781, allocations: 7.984 kB / 0.7582 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.4781, allocations: 15.42 kB / 0.7582 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.4781, allocations: 3.938 kB / 0.7582 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03555/0.5137, allocations: 1.325 MB / 0.7595 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003176/0.5141, allocations: 159.4 kB / 0.7597 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.216/2.731, allocations: 0 / 0.7597 GB, free: 2.57 MB / 0.6355 GB