Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_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.001044/0.001044, 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.001092/0.001092, allocations: 199.3 kB / 16.14 MB, free: 6.695 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.308/1.308, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9033/0.9033, allocations: 135.1 MB / 425.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 60.31 kB / 0.5048 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1267, allocations: 80.91 MB / 0.5838 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001984/0.1288, allocations: 1.342 MB / 0.5851 GB, free: 3.543 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007868/0.1296, allocations: 0.575 MB / 0.5857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.238e-05/0.1296, allocations: 0 / 0.5857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.1296, allocations: 3.984 kB / 0.5857 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.531e-05/0.1297, allocations: 7.922 kB / 0.5857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.1299, allocations: 83.7 kB / 0.5858 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.891e-05/0.13, allocations: 19.88 kB / 0.5858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.358e-05/0.13, allocations: 0 / 0.5858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.548e-05/0.13, allocations: 7.938 kB / 0.5858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.446e-05/0.1301, allocations: 19.91 kB / 0.5858 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.587e-06/0.1301, allocations: 0 / 0.5858 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.1303, allocations: 139.8 kB / 0.5859 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-06/0.1304, allocations: 0 / 0.5859 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.1304, allocations: 11.94 kB / 0.586 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1305, allocations: 95.98 kB / 0.5861 GB, free: 2.582 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1306, allocations: 4 kB / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1306, allocations: 4 kB / 0.5861 GB, free: 2.574 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.1306, allocations: 0 / 0.5861 GB, free: 2.574 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003021/0.1309, allocations: 343.5 kB / 0.5864 GB, free: 2.188 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1309, allocations: 12.02 kB / 0.5864 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.88e-05/0.131, allocations: 34.75 kB / 0.5864 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003946/0.1314, allocations: 28.91 kB / 0.5865 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.813e-05/0.1314, allocations: 164.4 kB / 0.5866 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.1315, allocations: 384 / 0.5866 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.1315, allocations: 4.359 kB / 0.5866 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.1316, allocations: 50.16 kB / 0.5867 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.1316, allocations: 3.938 kB / 0.5867 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1316, allocations: 7.938 kB / 0.5867 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-06/0.1317, allocations: 0 / 0.5867 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1318, allocations: 27.97 kB / 0.5867 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.1319, allocations: 161.7 kB / 0.5869 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.1321, allocations: 42.55 kB / 0.5869 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.577e-05/0.1321, allocations: 20.92 kB / 0.5869 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.1321, allocations: 0 / 0.5869 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.1322, allocations: 38.48 kB / 0.587 GB, free: 1.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.1322, allocations: 0 / 0.587 GB, free: 1.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002658/0.1324, allocations: 69.61 kB / 0.587 GB, free: 1.406 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.1325, allocations: 59.52 kB / 0.5871 GB, free: 1.336 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.561e-05/0.1325, allocations: 97.8 kB / 0.5872 GB, free: 1.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.1326, allocations: 25.7 kB / 0.5872 GB, free: 1.199 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.308e-05/0.1326, allocations: 80.14 kB / 0.5873 GB, free: 1.117 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.1326, allocations: 11.91 kB / 0.5873 GB, free: 1.105 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.1326, allocations: 13.7 kB / 0.5873 GB, free: 1.086 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8e-05/0.1327, allocations: 314.8 kB / 0.5876 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.1e-05/0.1328, allocations: 11.98 kB / 0.5876 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.297e-05/0.1329, allocations: 16 kB / 0.5876 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.133, allocations: 32.78 kB / 0.5877 GB, free: 0.707 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.133, allocations: 0 / 0.5877 GB, free: 0.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001594/0.1332, allocations: 65.64 kB / 0.5877 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1332, allocations: 9.969 kB / 0.5877 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1332, allocations: 0 / 0.5877 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1332, allocations: 0 / 0.5877 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1333, allocations: 7.984 kB / 0.5877 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1333, allocations: 0 / 0.5877 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.223e-05/0.1334, allocations: 7.938 kB / 0.5877 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.1334, allocations: 3.984 kB / 0.5877 GB, free: 0.6094 MB / 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 7.044e-05/0.1335, allocations: 117.9 kB / 0.5879 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.1335, allocations: 3.938 kB / 0.5879 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.1335, allocations: 3.125 kB / 0.5879 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1335, allocations: 0 / 0.5879 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1336, allocations: 3.938 kB / 0.5879 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1336, allocations: 0 / 0.5879 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.1337, allocations: 157.7 kB / 0.588 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1337, allocations: 3.984 kB / 0.588 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-05/0.1338, allocations: 4 kB / 0.588 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1338, allocations: 7.938 kB / 0.588 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1338, allocations: 3.984 kB / 0.588 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1338, allocations: 0 / 0.588 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1338, allocations: 0 / 0.588 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.134, allocations: 89.06 kB / 0.5881 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.1341, allocations: 85.12 kB / 0.5882 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.1341, allocations: 7.938 kB / 0.5882 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.248e-05/0.1342, allocations: 8 kB / 0.5882 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.1342, allocations: 3.938 kB / 0.5882 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.1342, allocations: 7.984 kB / 0.5882 GB, free: 16 kB / 494.1 MB Notification: Performance of sorting global known variables: time 5.189e-05/0.1343, allocations: 79.45 kB / 0.5883 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.383e-06/0.1343, allocations: 0 / 0.5883 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002027/0.1345, allocations: 19.94 kB / 0.5883 GB, free: 15.92 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.0004999/0.135, allocations: 0.6319 MB / 0.5889 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001741/0.1352, allocations: 32 kB / 0.589 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.1352, allocations: 4 kB / 0.589 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.497e-05/0.1352, allocations: 15.92 kB / 0.589 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.1355, allocations: 11.98 kB / 0.589 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.136, allocations: 154.1 kB / 0.5892 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.1362, allocations: 0.6731 MB / 0.5898 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.431e-05/0.1363, allocations: 11.98 kB / 0.5898 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.1363, allocations: 19.42 kB / 0.5898 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.1363, allocations: 0 / 0.5898 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.24/1.376, allocations: 1.412 MB / 0.5912 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/1.377, allocations: 221.3 kB / 0.5914 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/3.224, allocations: 3.938 kB / 0.5914 GB, free: 12.76 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)