Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.204/2.204, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001581/0.001581, allocations: 182.7 kB / 325.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.504/2.504, allocations: 205.4 MB / 0.5764 GB, free: 21.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 96.17 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006883/0.0006884, allocations: 12.03 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2945, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3139/0.6085, allocations: 131.2 MB / 1.027 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/0.6089, allocations: 71.95 kB / 1.027 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00517/0.6141, allocations: 1.157 MB / 1.028 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6141, allocations: 0 / 1.028 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.6141, allocations: 4 kB / 1.028 GB, free: 13.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006094/0.6148, allocations: 386.9 kB / 1.029 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/0.6148, allocations: 12.02 kB / 1.029 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.383e-05/0.6149, allocations: 38.56 kB / 1.029 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.615, allocations: 12.08 kB / 1.029 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.6152, allocations: 182.8 kB / 1.029 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.6153, allocations: 11.94 kB / 1.029 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.6153, allocations: 12 kB / 1.029 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.6156, allocations: 91.33 kB / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.6156, allocations: 0 / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.6157, allocations: 4 kB / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.6157, allocations: 4 kB / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.6159, allocations: 35.98 kB / 1.029 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.6169, allocations: 456.5 kB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.979e-05/0.617, allocations: 49.17 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.6171, allocations: 0 / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.6171, allocations: 34.69 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 2.325e-06/0.6171, allocations: 0 / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003183/0.6175, allocations: 57.55 kB / 1.03 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.6176, allocations: 77.11 kB / 1.03 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.6179, allocations: 160.4 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.6179, allocations: 25.7 kB / 1.03 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.618, allocations: 115.9 kB / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.6181, allocations: 11.84 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-06/0.6181, allocations: 0 / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.6183, allocations: 323.8 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-05/0.6183, allocations: 8 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.177e-05/0.6184, allocations: 25.7 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.625e-05/0.6185, allocations: 12 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6185, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002081/0.6187, allocations: 61.55 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.6188, allocations: 4 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-06/0.6188, allocations: 0 / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.6188, allocations: 4 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.619, allocations: 7.984 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.619, allocations: 0 / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.702e-05/0.6191, allocations: 4.062 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.6191, allocations: 4 kB / 1.03 GB, free: 10.86 MB / 0.6823 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 (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 0.0001428/0.6193, allocations: 121.7 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.727e-05/0.6194, allocations: 11.81 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.909e-05/0.6194, allocations: 12.56 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.6195, allocations: 7.922 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.6195, allocations: 4 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.6195, allocations: 0 / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007998/0.6203, allocations: 474.9 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.6203, allocations: 4 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.18e-05/0.6204, allocations: 11.97 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.158e-06/0.6204, allocations: 4 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.6205, allocations: 0 / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.6205, allocations: 0 / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6205, allocations: 0 / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.6207, allocations: 99.58 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.6208, allocations: 89 kB / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.6209, allocations: 0 / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.677e-05/0.6209, allocations: 0 / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.621, allocations: 0 / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.621, allocations: 4 kB / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002198/0.6212, allocations: 133.8 kB / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.01e-07/0.6212, allocations: 4.031 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004369/0.6217, allocations: 11.91 kB / 1.031 GB, free: 9.77 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0006352/0.6223, allocations: 0.6993 MB / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.6225, allocations: 19.94 kB / 1.032 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6225, allocations: 3.938 kB / 1.032 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.105e-05/0.6226, allocations: 4 kB / 1.032 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.6228, allocations: 13.52 kB / 1.032 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.6246, allocations: 0.7478 MB / 1.033 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.6251, allocations: 0.7043 MB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.6252, allocations: 8.422 kB / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.517e-05/0.6253, allocations: 31.36 kB / 1.033 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of SimCode: time 1.563e-06/0.6253, allocations: 0 / 1.033 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.6491, allocations: 1.584 MB / 1.035 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000486/0.6497, allocations: 189.4 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.357/3.007, allocations: 0 / 1.035 GB, free: 5.754 MB / 0.6823 GB