Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002396/0.002397, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.81/3.81, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.257/3.257, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001143, allocations: 16.91 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.54/0.5412, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003113/0.5445, allocations: 1.133 MB / 0.7883 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008509/0.5454, allocations: 193.6 kB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.57e-05/0.5454, allocations: 0 / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.409e-05/0.5455, allocations: 0 / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.5456, allocations: 7.969 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.546, allocations: 23.91 kB / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.5461, allocations: 11.98 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.5463, allocations: 15.98 kB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.024e-05/0.5464, allocations: 4 kB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.374e-05/0.5465, allocations: 7.922 kB / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.5465, allocations: 4 kB / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.5467, allocations: 27.97 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.5467, allocations: 0 / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.682e-05/0.5468, allocations: 29.7 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.547, allocations: 32.12 kB / 0.7887 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.547, allocations: 0 / 0.7887 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.999e-06/0.547, allocations: 0 / 0.7887 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.5471, allocations: 4 kB / 0.7887 GB, free: 10.39 MB / 0.6075 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.0008024/0.5479, allocations: 343.3 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.759e-05/0.548, allocations: 8.031 kB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.209e-05/0.548, allocations: 30.56 kB / 0.789 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.5483, allocations: 7.984 kB / 0.789 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.5486, allocations: 170.9 kB / 0.7892 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.5486, allocations: 0 / 0.7892 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.5487, allocations: 8 kB / 0.7892 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.549, allocations: 57.66 kB / 0.7893 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.5491, allocations: 0 / 0.7893 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.5491, allocations: 0 / 0.7893 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.5491, allocations: 0 / 0.7893 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000362/0.5495, allocations: 47.95 kB / 0.7893 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006911/0.5502, allocations: 252.9 kB / 0.7896 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.5504, allocations: 42.56 kB / 0.7896 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.5505, allocations: 0 / 0.7896 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/0.5505, allocations: 38.55 kB / 0.7896 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.773e-06/0.5506, allocations: 0 / 0.7896 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0006877/0.5513, allocations: 101.5 kB / 0.7897 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.5513, allocations: 55.41 kB / 0.7898 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.5515, allocations: 105.8 kB / 0.7899 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.5516, allocations: 25.7 kB / 0.7899 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.944e-05/0.5516, allocations: 80.14 kB / 0.79 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.5517, allocations: 7.906 kB / 0.79 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.5517, allocations: 4.125 kB / 0.79 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.5519, allocations: 318.8 kB / 0.7903 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.5521, allocations: 19.98 kB / 0.7903 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.5523, allocations: 19.98 kB / 0.7903 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.5524, allocations: 24.05 kB / 0.7904 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.5525, allocations: 0 / 0.7904 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003826/0.5528, allocations: 77.59 kB / 0.7904 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.5529, allocations: 12.03 kB / 0.7904 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.5529, allocations: 0 / 0.7904 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.553, allocations: 3.938 kB / 0.7904 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.5532, allocations: 11.98 kB / 0.7905 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.5532, allocations: 0 / 0.7905 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.5533, allocations: 11.98 kB / 0.7905 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.5534, allocations: 3.953 kB / 0.7905 GB, free: 8.316 MB / 0.6075 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 0.0001769/0.5536, allocations: 109.8 kB / 0.7906 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.722e-05/0.5536, allocations: 4 kB / 0.7906 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004939/0.5541, allocations: 88.77 kB / 0.7907 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.5542, allocations: 4 kB / 0.7907 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.5542, allocations: 0 / 0.7907 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.5542, allocations: 0 / 0.7907 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.5545, allocations: 165.6 kB / 0.7908 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5545, allocations: 0 / 0.7908 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.5547, allocations: 15.92 kB / 0.7908 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.5547, allocations: 0 / 0.7908 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.5547, allocations: 4 kB / 0.7908 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.5547, allocations: 4 kB / 0.7909 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5548, allocations: 0 / 0.7909 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/0.5553, allocations: 187.6 kB / 0.791 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.5553, allocations: 77.11 kB / 0.7911 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.5554, allocations: 48 / 0.7911 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.5556, allocations: 19.97 kB / 0.7911 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/0.5557, allocations: 0 / 0.7911 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.5557, allocations: 0 / 0.7911 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.627e-05/0.5558, allocations: 83.28 kB / 0.7912 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5558, allocations: 0 / 0.7912 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000411/0.5562, allocations: 4 kB / 0.7912 GB, free: 7.465 MB / 0.6075 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.001111/0.5573, allocations: 0.7201 MB / 0.7919 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004016/0.5577, allocations: 47.95 kB / 0.792 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5578, allocations: 4 kB / 0.792 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.558, allocations: 27.92 kB / 0.792 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.5584, allocations: 3.938 kB / 0.792 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000928/0.5594, allocations: 166.3 kB / 0.7921 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/0.56, allocations: 0.6809 MB / 0.7928 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.225e-05/0.5601, allocations: 0 / 0.7928 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.223e-05/0.5602, allocations: 11.44 kB / 0.7928 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.5602, allocations: 0 / 0.7928 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04508/0.6053, allocations: 1.092 MB / 0.7939 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003209/0.6057, allocations: 196.2 kB / 0.7941 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.094/3.7, allocations: 0 / 0.7941 GB, free: 4.559 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) Environment - environmentSimulation: