Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.478/1.478, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001254/0.001254, allocations: 184.8 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009472/0.0009472, allocations: 103.8 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003996, allocations: 13.19 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2559, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001648/0.2576, allocations: 1.125 MB / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004813/0.2581, allocations: 192.5 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.2581, allocations: 0 / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.2582, allocations: 0 / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.043e-05/0.2582, allocations: 7.922 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.2585, allocations: 23.91 kB / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.562e-05/0.2586, allocations: 15.98 kB / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.2587, allocations: 7.969 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.629e-05/0.2588, allocations: 7.938 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.2588, allocations: 11.98 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.2588, allocations: 4 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-05/0.2589, allocations: 23.98 kB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.259, allocations: 4 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.259, allocations: 29.64 kB / 0.9016 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.2591, allocations: 19.97 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2591, allocations: 4 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.996e-06/0.2591, allocations: 0 / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2591, allocations: 0 / 0.9016 GB, free: 62.38 MB / 0.6042 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.0005006/0.2596, allocations: 339.6 kB / 0.9019 GB, free: 62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 8.683e-05/0.2597, allocations: 12.03 kB / 0.9019 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.2598, allocations: 30.56 kB / 0.9019 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.2599, allocations: 15.89 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.26, allocations: 167 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.2601, allocations: 7.938 kB / 0.9021 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.2601, allocations: 0 / 0.9021 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.2603, allocations: 57.67 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2603, allocations: 4 kB / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.2603, allocations: 0 / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.2603, allocations: 3.938 kB / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.2605, allocations: 43.95 kB / 0.9022 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.2609, allocations: 248.9 kB / 0.9025 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.261, allocations: 38.56 kB / 0.9025 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.261, allocations: 3.984 kB / 0.9025 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.2611, allocations: 38.62 kB / 0.9025 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2611, allocations: 3.938 kB / 0.9025 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003413/0.2614, allocations: 97.73 kB / 0.9026 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.2615, allocations: 51.41 kB / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.623e-05/0.2615, allocations: 97.86 kB / 0.9028 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.2615, allocations: 25.7 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.2616, allocations: 84.14 kB / 0.9029 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.2616, allocations: 11.83 kB / 0.9029 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/0.2616, allocations: 0 / 0.9029 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.848e-05/0.2617, allocations: 314.8 kB / 0.9032 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.698e-05/0.2618, allocations: 28.02 kB / 0.9032 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.716e-05/0.2618, allocations: 15.98 kB / 0.9032 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.907e-05/0.2619, allocations: 32.03 kB / 0.9033 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2619, allocations: 7.875 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001731/0.2621, allocations: 69.67 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2621, allocations: 4 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2621, allocations: 4 kB / 0.9034 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2622, allocations: 4.031 kB / 0.9034 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.076e-05/0.2623, allocations: 11.98 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2623, allocations: 0 / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.211e-05/0.2623, allocations: 11.98 kB / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.2623, allocations: 0 / 0.9034 GB, free: 60.3 MB / 0.6042 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 (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 prepare postOptimizeDAE: time 5.898e-05/0.2624, allocations: 113.8 kB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.2624, allocations: 4.094 kB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.2627, allocations: 100.7 kB / 0.9036 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2627, allocations: 0 / 0.9036 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2627, allocations: 3.938 kB / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2627, allocations: 0 / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.2628, allocations: 161.6 kB / 0.9037 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2628, allocations: 4 kB / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.2629, allocations: 11.98 kB / 0.9038 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2629, allocations: 0 / 0.9038 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.2629, allocations: 0 / 0.9038 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2629, allocations: 0 / 0.9038 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2629, allocations: 4 kB / 0.9038 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.2631, allocations: 183.4 kB / 0.9039 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.2632, allocations: 81.11 kB / 0.904 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.2632, allocations: 0 / 0.904 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.2633, allocations: 7.984 kB / 0.904 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.2633, allocations: 12 kB / 0.904 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.2633, allocations: 4 kB / 0.904 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.8e-05/0.2634, allocations: 79.28 kB / 0.9041 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2634, allocations: 0 / 0.9041 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000209/0.2636, allocations: 7.906 kB / 0.9041 GB, free: 59.45 MB / 0.6042 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 (3): * Single equations (assignments): 3 * 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.0004395/0.264, allocations: 0.7124 MB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.2643, allocations: 55.89 kB / 0.9049 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2643, allocations: 0 / 0.9049 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.337e-05/0.2644, allocations: 23.98 kB / 0.9049 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.2646, allocations: 7.562 kB / 0.9049 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.265, allocations: 162.3 kB / 0.9051 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.2652, allocations: 0.6809 MB / 0.9057 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.2652, allocations: 7.875 kB / 0.9057 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.2652, allocations: 7.438 kB / 0.9057 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2652, allocations: 0 / 0.9057 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01071/0.276, allocations: 1.096 MB / 0.9068 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/0.2762, allocations: 205.6 kB / 0.907 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/1.773, allocations: 0 / 0.907 GB, free: 56.55 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)