Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.001021/0.001021, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001049/0.001049, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.143/1.143, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7799/0.7799, allocations: 135.1 MB / 425.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 60.66 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1142, allocations: 80.93 MB / 0.5838 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001989/0.1162, allocations: 1.456 MB / 0.5852 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003658/0.1166, allocations: 207.4 kB / 0.5854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.815e-05/0.1166, allocations: 0 / 0.5854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.484e-05/0.1167, allocations: 3.938 kB / 0.5854 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.347e-05/0.1167, allocations: 4 kB / 0.5854 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.1169, allocations: 27.91 kB / 0.5855 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.43e-05/0.1169, allocations: 23.92 kB / 0.5855 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.484e-05/0.117, allocations: 4 kB / 0.5855 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.145e-05/0.117, allocations: 4 kB / 0.5855 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.944e-05/0.1171, allocations: 15.92 kB / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.297e-06/0.1171, allocations: 0 / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.872e-05/0.1171, allocations: 23.98 kB / 0.5855 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.1172, allocations: 7.969 kB / 0.5855 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.1172, allocations: 11.94 kB / 0.5855 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.372e-05/0.1173, allocations: 32.12 kB / 0.5856 GB, free: 3.098 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1173, allocations: 4 kB / 0.5856 GB, free: 3.094 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1173, allocations: 0 / 0.5856 GB, free: 3.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.1173, allocations: 0 / 0.5856 GB, free: 3.094 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.0003295/0.1176, allocations: 339.5 kB / 0.5859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.1177, allocations: 11.97 kB / 0.5859 GB, free: 2.699 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.528e-05/0.1177, allocations: 38.75 kB / 0.586 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.63e-05/0.1178, allocations: 4.922 kB / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.524e-05/0.1179, allocations: 168.3 kB / 0.5861 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-06/0.1179, allocations: 4.375 kB / 0.5861 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.1179, allocations: 384 / 0.5861 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1181, allocations: 50.23 kB / 0.5862 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1181, allocations: 3.938 kB / 0.5862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.1181, allocations: 0 / 0.5862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1181, allocations: 0 / 0.5862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.1182, allocations: 35.95 kB / 0.5862 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.1185, allocations: 252.8 kB / 0.5865 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.1186, allocations: 42.48 kB / 0.5865 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.546e-05/0.1187, allocations: 24.91 kB / 0.5865 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.1187, allocations: 3.984 kB / 0.5865 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.1187, allocations: 38.56 kB / 0.5866 GB, free: 1.922 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1188, allocations: 0 / 0.5866 GB, free: 1.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002921/0.119, allocations: 81.58 kB / 0.5866 GB, free: 1.836 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.1191, allocations: 55.41 kB / 0.5867 GB, free: 1.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.386e-05/0.1191, allocations: 93.86 kB / 0.5868 GB, free: 1.668 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.1192, allocations: 33.62 kB / 0.5868 GB, free: 1.629 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.1192, allocations: 92.27 kB / 0.5869 GB, free: 1.535 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.228e-05/0.1192, allocations: 3.906 kB / 0.5869 GB, free: 1.531 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.1192, allocations: 13.66 kB / 0.5869 GB, free: 1.512 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.1193, allocations: 318.8 kB / 0.5872 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.378e-05/0.1194, allocations: 15.97 kB / 0.5872 GB, free: 1.176 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.444e-05/0.1195, allocations: 15.98 kB / 0.5872 GB, free: 1.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.1196, allocations: 40.89 kB / 0.5873 GB, free: 1.117 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1196, allocations: 3.938 kB / 0.5873 GB, free: 1.113 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001678/0.1198, allocations: 69.59 kB / 0.5874 GB, free: 1.039 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.1198, allocations: 4 kB / 0.5874 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.1198, allocations: 0 / 0.5874 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.735e-06/0.1198, allocations: 0 / 0.5874 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.378e-05/0.1199, allocations: 11.98 kB / 0.5874 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1199, allocations: 4.031 kB / 0.5874 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.12, allocations: 8.172 kB / 0.5874 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-06/0.12, allocations: 0 / 0.5874 GB, free: 1.012 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 5.493e-05/0.12, allocations: 113.8 kB / 0.5875 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.1201, allocations: 11.89 kB / 0.5875 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.1203, allocations: 80.72 kB / 0.5876 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.1203, allocations: 3.984 kB / 0.5876 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1203, allocations: 0 / 0.5876 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1203, allocations: 0 / 0.5876 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.1204, allocations: 161.6 kB / 0.5877 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1204, allocations: 0 / 0.5877 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.149e-05/0.1205, allocations: 7.984 kB / 0.5877 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1205, allocations: 4 kB / 0.5877 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.1205, allocations: 0 / 0.5877 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1205, allocations: 0 / 0.5877 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1205, allocations: 4 kB / 0.5878 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.1207, allocations: 163.5 kB / 0.5879 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.1208, allocations: 89.03 kB / 0.588 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.1208, allocations: 0 / 0.588 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.1208, allocations: 4 kB / 0.588 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.1209, allocations: 3.984 kB / 0.588 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.1209, allocations: 4 kB / 0.588 GB, free: 280 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.067e-05/0.1209, allocations: 87.22 kB / 0.5881 GB, free: 192 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1209, allocations: 0 / 0.5881 GB, free: 192 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001921/0.1211, allocations: 4 kB / 0.5881 GB, free: 188 kB / 494.1 MB 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 (3): * Single equations (assignments): 3 * 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.0003912/0.1215, allocations: 0.7045 MB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.1217, allocations: 43.91 kB / 0.5888 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.1217, allocations: 0 / 0.5888 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.81e-05/0.1218, allocations: 19.97 kB / 0.5888 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.122, allocations: 15.97 kB / 0.5889 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.1224, allocations: 154.1 kB / 0.589 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.1225, allocations: 0.677 MB / 0.5897 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.649e-05/0.1226, allocations: 0 / 0.5897 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.1226, allocations: 19.42 kB / 0.5897 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1226, allocations: 0 / 0.5897 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.317/3.44, allocations: 1.177 MB / 0.5908 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003224/3.44, allocations: 210.6 kB / 0.591 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.526/5.966, allocations: 0 / 0.591 GB, free: 13.18 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)