Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_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.001623/0.001623, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001831/0.001824, allocations: 190.7 kB / 16.14 MB, free: 6.688 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.198/1.198, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7879/0.7879, allocations: 135.1 MB / 425.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 59.94 kB / 0.5048 GB, free: 5.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.126, allocations: 80.91 MB / 0.5838 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002216/0.1282, allocations: 1.468 MB / 0.5852 GB, free: 3.461 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008653/0.1291, allocations: 0.6007 MB / 0.5858 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.791e-05/0.1291, allocations: 4 kB / 0.5858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.684e-05/0.1292, allocations: 7.984 kB / 0.5858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.478e-05/0.1292, allocations: 3.938 kB / 0.5858 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.1295, allocations: 79.7 kB / 0.5859 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.222e-05/0.1296, allocations: 23.92 kB / 0.5859 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.831e-05/0.1296, allocations: 11.92 kB / 0.5859 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.203e-05/0.1297, allocations: 8 kB / 0.586 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.706e-05/0.1297, allocations: 15.92 kB / 0.586 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.1297, allocations: 0 / 0.586 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.13, allocations: 155.7 kB / 0.5861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.978e-06/0.13, allocations: 4 kB / 0.5861 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.13, allocations: 7.938 kB / 0.5861 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.1302, allocations: 104 kB / 0.5862 GB, free: 2.438 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1302, allocations: 0 / 0.5862 GB, free: 2.438 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1302, allocations: 0 / 0.5862 GB, free: 2.438 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1302, allocations: 0 / 0.5862 GB, free: 2.438 MB / 494.1 MB 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.0004819/0.1307, allocations: 363.4 kB / 0.5866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1308, allocations: 8.031 kB / 0.5866 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.12e-05/0.1308, allocations: 30.75 kB / 0.5866 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004588/0.1313, allocations: 28.89 kB / 0.5866 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.1314, allocations: 164.4 kB / 0.5868 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1314, allocations: 384 / 0.5868 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.1314, allocations: 384 / 0.5868 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.1317, allocations: 70.2 kB / 0.5869 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1317, allocations: 3.938 kB / 0.5869 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1317, allocations: 0 / 0.5869 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1317, allocations: 3.938 kB / 0.5869 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.132, allocations: 51.94 kB / 0.5869 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.1324, allocations: 288.7 kB / 0.5872 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.1327, allocations: 62.47 kB / 0.5873 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.1328, allocations: 32.89 kB / 0.5873 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.1328, allocations: 0 / 0.5873 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.1328, allocations: 38.5 kB / 0.5873 GB, free: 1.141 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1329, allocations: 0 / 0.5873 GB, free: 1.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004879/0.1333, allocations: 109.6 kB / 0.5874 GB, free: 1.027 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.1334, allocations: 55.39 kB / 0.5875 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.005e-05/0.1335, allocations: 97.86 kB / 0.5876 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1335, allocations: 25.7 kB / 0.5876 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.1335, allocations: 84.14 kB / 0.5877 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.1336, allocations: 11.89 kB / 0.5877 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.1336, allocations: 17.83 kB / 0.5877 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.947e-05/0.1337, allocations: 314.8 kB / 0.588 GB, free: 396 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1338, allocations: 23.97 kB / 0.588 GB, free: 372 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.134, allocations: 27.97 kB / 0.5881 GB, free: 344 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.1342, allocations: 72.73 kB / 0.5881 GB, free: 268 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1342, allocations: 3.938 kB / 0.5881 GB, free: 264 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002707/0.1345, allocations: 81.64 kB / 0.5882 GB, free: 176 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1345, allocations: 4 kB / 0.5882 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1345, allocations: 4.031 kB / 0.5882 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.1345, allocations: 0 / 0.5882 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1347, allocations: 15.97 kB / 0.5882 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1347, allocations: 8 kB / 0.5882 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.497e-05/0.1348, allocations: 7.984 kB / 0.5882 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1348, allocations: 0 / 0.5882 GB, free: 136 kB / 494.1 MB 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 6.317e-05/0.1348, allocations: 117.8 kB / 0.5884 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.1349, allocations: 7.906 kB / 0.5884 GB, free: 0 / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/0.1349, allocations: 3.234 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.1349, allocations: 3.938 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1349, allocations: 0 / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.135, allocations: 4.188 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.1351, allocations: 169.6 kB / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1351, allocations: 0 / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.1352, allocations: 11.98 kB / 0.5885 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1352, allocations: 7.984 kB / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1352, allocations: 4 kB / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1353, allocations: 0 / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1353, allocations: 0 / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.1356, allocations: 187.4 kB / 0.5887 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.1356, allocations: 77.11 kB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.1356, allocations: 4 kB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.1358, allocations: 11.92 kB / 0.5888 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.1358, allocations: 0 / 0.5888 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.1358, allocations: 3.984 kB / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.905e-05/0.1358, allocations: 79.28 kB / 0.5889 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1358, allocations: 3.938 kB / 0.5889 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002247/0.1361, allocations: 16 kB / 0.5889 GB, free: 15.34 MB / 0.4981 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.0005561/0.1366, allocations: 0.7281 MB / 0.5896 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002742/0.1369, allocations: 59.94 kB / 0.5897 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1369, allocations: 7.828 kB / 0.5897 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.1371, allocations: 31.91 kB / 0.5897 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.1373, allocations: 11.12 kB / 0.5897 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005017/0.1378, allocations: 173.9 kB / 0.5899 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.138, allocations: 0.677 MB / 0.5906 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.455e-05/0.1381, allocations: 11.98 kB / 0.5906 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.1382, allocations: 19.42 kB / 0.5906 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1382, allocations: 0 / 0.5906 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.923/2.061, allocations: 1.461 MB / 0.592 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003202/2.061, allocations: 208 kB / 0.5922 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.949/5.01, allocations: 0 / 0.5922 GB, free: 11.95 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)