Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.006992/0.006992, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001564/0.001564, allocations: 193.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002475/0.002474, allocations: 288.8 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.052/1.052, allocations: 169.3 MB / 0.4983 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00433/0.00433, allocations: 99.84 kB / 0.681 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6153/0.6197, allocations: 86.97 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002466/0.6222, allocations: 1.284 MB / 0.7672 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.6232, allocations: 0.5672 MB / 0.7677 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.6233, allocations: 4 kB / 0.7677 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.6233, allocations: 0 / 0.7677 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.634e-05/0.6233, allocations: 3.938 kB / 0.7677 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.6238, allocations: 99.5 kB / 0.7678 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.31e-05/0.6238, allocations: 23.86 kB / 0.7678 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.6239, allocations: 7.984 kB / 0.7678 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.473e-05/0.6239, allocations: 4 kB / 0.7679 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.437e-05/0.624, allocations: 11.94 kB / 0.7679 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.948e-06/0.624, allocations: 0 / 0.7679 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/0.6243, allocations: 139.7 kB / 0.768 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.6243, allocations: 7.984 kB / 0.768 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.6243, allocations: 7.938 kB / 0.768 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.6245, allocations: 88.91 kB / 0.7681 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6246, allocations: 0 / 0.7681 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6246, allocations: 0 / 0.7681 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.6246, allocations: 8 kB / 0.7681 GB, free: 1.605 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004755/0.6251, allocations: 351.1 kB / 0.7684 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.6251, allocations: 8.031 kB / 0.7684 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.6251, allocations: 34.75 kB / 0.7685 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004278/0.6256, allocations: 28.91 kB / 0.7685 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.6257, allocations: 168.4 kB / 0.7687 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.6258, allocations: 4.375 kB / 0.7687 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.6258, allocations: 384 / 0.7687 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.6259, allocations: 50.17 kB / 0.7687 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.626, allocations: 3.938 kB / 0.7687 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.626, allocations: 0 / 0.7687 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.626, allocations: 0 / 0.7687 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.6261, allocations: 23.97 kB / 0.7687 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.6263, allocations: 157.7 kB / 0.7689 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.6265, allocations: 42.58 kB / 0.7689 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.959e-05/0.6265, allocations: 20.91 kB / 0.769 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.6266, allocations: 3.938 kB / 0.769 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.6266, allocations: 34.56 kB / 0.769 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.6266, allocations: 0 / 0.769 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003239/0.6269, allocations: 77.55 kB / 0.7691 GB, free: 448 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.627, allocations: 51.41 kB / 0.7691 GB, free: 384 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.372e-05/0.6271, allocations: 93.86 kB / 0.7692 GB, free: 280 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.6271, allocations: 29.83 kB / 0.7692 GB, free: 244 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.6272, allocations: 84.14 kB / 0.7693 GB, free: 156 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.6272, allocations: 3.953 kB / 0.7693 GB, free: 152 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.6273, allocations: 17.7 kB / 0.7693 GB, free: 128 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.6275, allocations: 310.8 kB / 0.7696 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.65e-05/0.6276, allocations: 15.98 kB / 0.7696 GB, free: 15.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.305e-05/0.6277, allocations: 23.92 kB / 0.7697 GB, free: 15.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.6279, allocations: 28.78 kB / 0.7697 GB, free: 15.74 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6279, allocations: 0 / 0.7697 GB, free: 15.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001841/0.6281, allocations: 53.67 kB / 0.7697 GB, free: 15.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.6281, allocations: 11.94 kB / 0.7698 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6281, allocations: 12.02 kB / 0.7698 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.6281, allocations: 0 / 0.7698 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.6282, allocations: 4 kB / 0.7698 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.6283, allocations: 0 / 0.7698 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.376e-05/0.6283, allocations: 11.98 kB / 0.7698 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.6283, allocations: 0 / 0.7698 GB, free: 15.64 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.756e-05/0.6285, allocations: 116.2 kB / 0.7699 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.6285, allocations: 3.938 kB / 0.7699 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.6285, allocations: 7.125 kB / 0.7699 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.6285, allocations: 0 / 0.7699 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6285, allocations: 0 / 0.7699 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.6285, allocations: 4.172 kB / 0.7699 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.6287, allocations: 153.7 kB / 0.7701 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6287, allocations: 4 kB / 0.7701 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.757e-05/0.6288, allocations: 7.984 kB / 0.7701 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.6288, allocations: 7.922 kB / 0.7701 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.6288, allocations: 0 / 0.7701 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.6288, allocations: 8 kB / 0.7701 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6288, allocations: 0 / 0.7701 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.629, allocations: 85.06 kB / 0.7702 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.876e-05/0.6291, allocations: 85.09 kB / 0.7702 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.6291, allocations: 7.938 kB / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.218e-05/0.6292, allocations: 4.031 kB / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.6292, allocations: 7.922 kB / 0.7703 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.6292, allocations: 4 kB / 0.7703 GB, free: 15.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.6293, allocations: 75.28 kB / 0.7703 GB, free: 14.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6293, allocations: 0 / 0.7703 GB, free: 14.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002749/0.6296, allocations: 15.94 kB / 0.7704 GB, free: 14.97 MB / 0.545 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006106/0.6302, allocations: 0.6397 MB / 0.771 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001829/0.6304, allocations: 27.98 kB / 0.771 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6304, allocations: 3.938 kB / 0.771 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.245e-05/0.6305, allocations: 20.06 kB / 0.771 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.6308, allocations: 22.61 kB / 0.7711 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005297/0.6313, allocations: 152.2 kB / 0.7712 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.6317, allocations: 0.6768 MB / 0.7719 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.21e-05/0.6317, allocations: 8.062 kB / 0.7719 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.6318, allocations: 11.44 kB / 0.7719 GB, free: 13.31 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6318, allocations: 0 / 0.7719 GB, free: 13.31 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.6544, allocations: 1.587 MB / 0.7734 GB, free: 11.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.613, allocations: 8.25 kB / 0.7734 GB, free: 11.88 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)