Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_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.006748/0.006748, allocations: 100.4 kB / 15.73 MB, free: 5.98 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.001177/0.001177, allocations: 192.1 kB / 16.67 MB, free: 5.918 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 290.4 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9329/0.9329, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 99.84 kB / 0.6809 GB, free: 36 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1439, allocations: 86.98 MB / 0.7659 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002505/0.1464, allocations: 1.412 MB / 0.7673 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009515/0.1474, allocations: 0.5936 MB / 0.7678 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.5e-05/0.1474, allocations: 3.938 kB / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.1475, allocations: 0 / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-05/0.1476, allocations: 15.92 kB / 0.7679 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.148, allocations: 91.58 kB / 0.7679 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.199e-05/0.1481, allocations: 23.92 kB / 0.768 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.818e-05/0.1482, allocations: 7.938 kB / 0.768 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.249e-05/0.1482, allocations: 15.97 kB / 0.768 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.1483, allocations: 11.92 kB / 0.768 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.1483, allocations: 7.938 kB / 0.768 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.1486, allocations: 135.8 kB / 0.7681 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.1486, allocations: 19.97 kB / 0.7682 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.1486, allocations: 3.938 kB / 0.7682 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.1488, allocations: 91.89 kB / 0.7683 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1488, allocations: 3.938 kB / 0.7683 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1488, allocations: 0 / 0.7683 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.1488, allocations: 0 / 0.7683 GB, free: 6.535 MB / 0.5606 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.0004164/0.1493, allocations: 359.4 kB / 0.7686 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1493, allocations: 12.03 kB / 0.7686 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.938e-05/0.1493, allocations: 30.75 kB / 0.7686 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000406/0.1498, allocations: 28.91 kB / 0.7687 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.1499, allocations: 180.2 kB / 0.7688 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1499, allocations: 4.359 kB / 0.7688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.1499, allocations: 8.375 kB / 0.7689 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.1502, allocations: 62.2 kB / 0.7689 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.1502, allocations: 7.938 kB / 0.7689 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1502, allocations: 0 / 0.7689 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1502, allocations: 0 / 0.7689 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.1504, allocations: 51.94 kB / 0.769 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.1509, allocations: 276.9 kB / 0.7692 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.1511, allocations: 58.47 kB / 0.7693 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.1512, allocations: 32.89 kB / 0.7693 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1512, allocations: 0 / 0.7693 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1513, allocations: 34.56 kB / 0.7694 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1513, allocations: 0 / 0.7694 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004623/0.1517, allocations: 117.5 kB / 0.7695 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.1518, allocations: 55.53 kB / 0.7695 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.839e-05/0.1519, allocations: 97.84 kB / 0.7696 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1519, allocations: 29.7 kB / 0.7696 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.1519, allocations: 80.14 kB / 0.7697 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.152, allocations: 7.906 kB / 0.7697 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.152, allocations: 13.7 kB / 0.7697 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.996e-05/0.1521, allocations: 326.7 kB / 0.77 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.1522, allocations: 27.97 kB / 0.7701 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1523, allocations: 27.97 kB / 0.7701 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.1526, allocations: 48.88 kB / 0.7701 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1526, allocations: 7.938 kB / 0.7702 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002761/0.1529, allocations: 93.56 kB / 0.7702 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1529, allocations: 4 kB / 0.7702 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1529, allocations: 0 / 0.7702 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1529, allocations: 0 / 0.7702 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1531, allocations: 20.02 kB / 0.7703 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1531, allocations: 0 / 0.7703 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.143e-05/0.1532, allocations: 11.98 kB / 0.7703 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1532, allocations: 0 / 0.7703 GB, free: 4.227 MB / 0.5606 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 7.825e-05/0.1533, allocations: 114.4 kB / 0.7704 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.1533, allocations: 7.906 kB / 0.7704 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.1533, allocations: 7.125 kB / 0.7704 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1534, allocations: 0 / 0.7704 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1534, allocations: 0 / 0.7704 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1534, allocations: 0 / 0.7704 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.1535, allocations: 173.6 kB / 0.7706 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1535, allocations: 0 / 0.7706 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.1537, allocations: 15.97 kB / 0.7706 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1537, allocations: 0 / 0.7706 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.1537, allocations: 0 / 0.7706 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1537, allocations: 0 / 0.7706 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1537, allocations: 0 / 0.7706 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.154, allocations: 195.4 kB / 0.7708 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.1541, allocations: 77.11 kB / 0.7708 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.1541, allocations: 4 kB / 0.7708 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1542, allocations: 12.2 kB / 0.7709 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.1542, allocations: 4 kB / 0.7709 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.1543, allocations: 3.984 kB / 0.7709 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.794e-05/0.1543, allocations: 87.27 kB / 0.7709 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1543, allocations: 0 / 0.7709 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002396/0.1546, allocations: 19.94 kB / 0.771 GB, free: 3.43 MB / 0.5606 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.0005832/0.1551, allocations: 0.7317 MB / 0.7717 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002751/0.1554, allocations: 59.97 kB / 0.7717 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1554, allocations: 3.938 kB / 0.7717 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.1556, allocations: 35.95 kB / 0.7718 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.1558, allocations: 0 / 0.7718 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.1564, allocations: 168.4 kB / 0.7719 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.1566, allocations: 0.6729 MB / 0.7726 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.087e-05/0.1567, allocations: 11.98 kB / 0.7726 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.1567, allocations: 7.438 kB / 0.7726 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.1567, allocations: 0 / 0.7726 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.1728, allocations: 1.693 MB / 0.7743 GB, free: 96 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.91/7.083, allocations: 8.5 kB / 0.7743 GB, free: 96 kB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)