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.004847/0.004847, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.001097/0.001098, allocations: 194.4 kB / 16.67 MB, free: 5.969 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002145/0.002145, allocations: 283 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9266/0.9266, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 100.3 kB / 0.6809 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1502, allocations: 86.98 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002274/0.1526, allocations: 1.407 MB / 0.7673 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008853/0.1535, allocations: 0.5975 MB / 0.7678 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.1535, allocations: 0 / 0.7678 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.52e-05/0.1535, allocations: 0 / 0.7678 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.48e-05/0.1536, allocations: 3.938 kB / 0.7678 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.154, allocations: 103.5 kB / 0.7679 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.986e-05/0.1541, allocations: 27.86 kB / 0.768 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.1542, allocations: 15.92 kB / 0.768 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.153e-05/0.1542, allocations: 7.984 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.224e-05/0.1543, allocations: 11.94 kB / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.739e-06/0.1543, allocations: 0 / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.1545, allocations: 147.8 kB / 0.7681 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.939e-06/0.1546, allocations: 0 / 0.7681 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.1546, allocations: 15.92 kB / 0.7682 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.1548, allocations: 99.88 kB / 0.7683 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1548, allocations: 3.938 kB / 0.7683 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1548, allocations: 0 / 0.7683 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.1548, allocations: 0 / 0.7683 GB, free: 6.496 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.0004093/0.1552, allocations: 359.4 kB / 0.7686 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1553, allocations: 8.031 kB / 0.7686 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.243e-05/0.1553, allocations: 34.69 kB / 0.7686 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004008/0.1557, allocations: 32.91 kB / 0.7687 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1558, allocations: 172.2 kB / 0.7688 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1559, allocations: 4.359 kB / 0.7688 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.1559, allocations: 4.375 kB / 0.7688 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.1561, allocations: 62.2 kB / 0.7689 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1561, allocations: 7.938 kB / 0.7689 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1561, allocations: 7.938 kB / 0.7689 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.1562, allocations: 0 / 0.7689 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/0.1564, allocations: 51.94 kB / 0.769 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.1568, allocations: 268.9 kB / 0.7692 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.1571, allocations: 62.48 kB / 0.7693 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.1572, allocations: 28.89 kB / 0.7693 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.1572, allocations: 4 kB / 0.7693 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1573, allocations: 34.56 kB / 0.7694 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1573, allocations: 0 / 0.7694 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0005003/0.1578, allocations: 117.5 kB / 0.7695 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.1578, allocations: 51.41 kB / 0.7695 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.836e-05/0.1579, allocations: 102 kB / 0.7696 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1579, allocations: 25.7 kB / 0.7696 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.1579, allocations: 88.12 kB / 0.7697 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.158, allocations: 3.906 kB / 0.7697 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.158, allocations: 13.72 kB / 0.7697 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.904e-05/0.1581, allocations: 322.8 kB / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.1582, allocations: 27.97 kB / 0.7701 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.1584, allocations: 27.97 kB / 0.7701 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.1586, allocations: 52.81 kB / 0.7701 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.1586, allocations: 3.938 kB / 0.7702 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002856/0.1589, allocations: 93.62 kB / 0.7702 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1589, allocations: 9.875 kB / 0.7702 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1589, allocations: 0 / 0.7702 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.159, allocations: 0 / 0.7702 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.1591, allocations: 11.98 kB / 0.7703 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1591, allocations: 0 / 0.7703 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.658e-05/0.1592, allocations: 12.02 kB / 0.7703 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1592, allocations: 4 kB / 0.7703 GB, free: 4.195 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.632e-05/0.1593, allocations: 114.4 kB / 0.7704 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.1593, allocations: 3.906 kB / 0.7704 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.962e-05/0.1594, allocations: 11.11 kB / 0.7704 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1594, allocations: 0 / 0.7704 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1594, allocations: 4 kB / 0.7704 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1594, allocations: 0 / 0.7704 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.1596, allocations: 165.6 kB / 0.7706 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1596, allocations: 4 kB / 0.7706 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.1597, allocations: 11.98 kB / 0.7706 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1597, allocations: 192 / 0.7706 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1597, allocations: 7.922 kB / 0.7706 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1597, allocations: 0 / 0.7706 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1597, allocations: 7.938 kB / 0.7706 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.1601, allocations: 187.4 kB / 0.7708 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.017e-05/0.1601, allocations: 85.09 kB / 0.7709 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.1601, allocations: 0 / 0.7709 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.1603, allocations: 4 kB / 0.7709 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.1603, allocations: 8.016 kB / 0.7709 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.1603, allocations: 4 kB / 0.7709 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.547e-05/0.1604, allocations: 83.28 kB / 0.7709 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1604, allocations: 0 / 0.7709 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002392/0.1606, allocations: 15.94 kB / 0.771 GB, free: 3.402 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.0006553/0.1613, allocations: 0.7395 MB / 0.7717 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002996/0.1616, allocations: 55.97 kB / 0.7717 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1616, allocations: 4 kB / 0.7717 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.1617, allocations: 27.97 kB / 0.7718 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.162, allocations: 7.984 kB / 0.7718 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000551/0.1626, allocations: 164.4 kB / 0.7719 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.1628, allocations: 0.6729 MB / 0.7726 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.546e-05/0.1629, allocations: 11.94 kB / 0.7726 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.1629, allocations: 15.42 kB / 0.7726 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.1629, allocations: 0 / 0.7726 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.1811, allocations: 1.675 MB / 0.7743 GB, free: 84 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.047/7.228, allocations: 0 / 0.7743 GB, free: 84 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)