Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.pW_TDewPoi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.0009688/0.000969, allocations: 96.78 kB / 15.36 MB, free: 0.7344 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.005867/0.005867, allocations: 171 kB / 16.27 MB, free: 6.652 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.347/1.347, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7692/0.7692, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003443, allocations: 8.281 kB / 0.5041 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4884/0.4887, allocations: 81.57 MB / 0.5838 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001378/0.4902, allocations: 0.9995 MB / 0.5847 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.4917, allocations: 0.8856 MB / 0.5856 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.756e-05/0.4917, allocations: 1.531 kB / 0.5856 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.4918, allocations: 0 / 0.5856 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.535e-05/0.4918, allocations: 9.375 kB / 0.5856 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.4924, allocations: 153.7 kB / 0.5858 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.818e-05/0.4925, allocations: 22.5 kB / 0.5858 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.223e-05/0.4926, allocations: 2.859 kB / 0.5858 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.745e-05/0.4926, allocations: 8.75 kB / 0.5858 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.517e-05/0.4927, allocations: 8.141 kB / 0.5858 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.4927, allocations: 0.875 kB / 0.5858 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004032/0.4931, allocations: 199.4 kB / 0.586 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.4931, allocations: 1.641 kB / 0.586 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.4932, allocations: 34.06 kB / 0.586 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.4935, allocations: 156.1 kB / 0.5862 GB, free: 2.453 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4935, allocations: 1.188 kB / 0.5862 GB, free: 2.453 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4935, allocations: 0 / 0.5862 GB, free: 2.453 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.4935, allocations: 0 / 0.5862 GB, free: 2.453 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004007/0.4939, allocations: 353.6 kB / 0.5865 GB, free: 2.082 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.494, allocations: 9.953 kB / 0.5865 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.941e-05/0.494, allocations: 32.36 kB / 0.5865 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.4942, allocations: 8.484 kB / 0.5866 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.349e-05/0.4943, allocations: 162.5 kB / 0.5867 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.4943, allocations: 5.562 kB / 0.5867 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.4943, allocations: 14.22 kB / 0.5867 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.4945, allocations: 45.8 kB / 0.5868 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.4945, allocations: 0 / 0.5868 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.4945, allocations: 1 kB / 0.5868 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4945, allocations: 0.8438 kB / 0.5868 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.202e-05/0.4946, allocations: 16.33 kB / 0.5868 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.4947, allocations: 152.7 kB / 0.5869 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009171/0.4956, allocations: 133.2 kB / 0.5871 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.564e-05/0.4957, allocations: 23.86 kB / 0.5871 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.4958, allocations: 87.7 kB / 0.5872 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.4959, allocations: 32 kB / 0.5872 GB, free: 1.398 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.4959, allocations: 0 / 0.5872 GB, free: 1.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001933/0.4961, allocations: 58.28 kB / 0.5873 GB, free: 1.359 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.4961, allocations: 53.2 kB / 0.5873 GB, free: 1.297 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.544e-05/0.4961, allocations: 100.1 kB / 0.5874 GB, free: 1.191 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.4962, allocations: 26.7 kB / 0.5874 GB, free: 1.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.401e-05/0.4962, allocations: 80.14 kB / 0.5875 GB, free: 1.078 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.4962, allocations: 11.36 kB / 0.5875 GB, free: 1.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.4962, allocations: 15.69 kB / 0.5875 GB, free: 1.051 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.232e-05/0.4963, allocations: 311.5 kB / 0.5878 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.4963, allocations: 10.11 kB / 0.5878 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.974e-05/0.4964, allocations: 9.641 kB / 0.5878 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.469e-05/0.4964, allocations: 27.22 kB / 0.5879 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4964, allocations: 4.125 kB / 0.5879 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.669e-05/0.4965, allocations: 56.75 kB / 0.5879 GB, free: 0.668 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.4965, allocations: 7.281 kB / 0.5879 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.4966, allocations: 3.938 kB / 0.5879 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.4966, allocations: 1.359 kB / 0.5879 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.418e-05/0.4966, allocations: 6.547 kB / 0.5879 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.4966, allocations: 5.344 kB / 0.588 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.87e-05/0.4967, allocations: 4.844 kB / 0.588 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.4967, allocations: 2.219 kB / 0.588 GB, free: 0.6562 MB / 430.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 (4): * Single equations (assignments): 4 * 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.627e-05/0.4968, allocations: 124.5 kB / 0.5881 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.4968, allocations: 5.344 kB / 0.5881 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.497, allocations: 71.47 kB / 0.5881 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.497, allocations: 0.7031 kB / 0.5881 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4971, allocations: 5.438 kB / 0.5882 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4971, allocations: 0 / 0.5882 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.906e-05/0.4972, allocations: 167.6 kB / 0.5883 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4972, allocations: 0 / 0.5883 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.171e-05/0.4972, allocations: 12.7 kB / 0.5883 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4972, allocations: 0 / 0.5883 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.4972, allocations: 5.984 kB / 0.5883 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4973, allocations: 0 / 0.5883 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4973, allocations: 1.438 kB / 0.5883 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.4974, allocations: 89.8 kB / 0.5884 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.4974, allocations: 81.59 kB / 0.5885 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.4974, allocations: 0.9062 kB / 0.5885 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.796e-05/0.4975, allocations: 1.703 kB / 0.5885 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.4975, allocations: 6.703 kB / 0.5885 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.4975, allocations: 2.781 kB / 0.5885 GB, free: 80 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.902e-05/0.4976, allocations: 75.88 kB / 0.5886 GB, free: 4 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4976, allocations: 0 / 0.5886 GB, free: 4 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.4979, allocations: 47.91 kB / 0.5886 GB, free: 15.99 MB / 446.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 (5): * Single equations (assignments): 5 * 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.0007238/0.4986, allocations: 0.6913 MB / 0.5893 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.4987, allocations: 26.28 kB / 0.5893 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.4987, allocations: 4.875 kB / 0.5893 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.424e-05/0.4988, allocations: 20 kB / 0.5894 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.499, allocations: 9.281 kB / 0.5894 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005208/0.4995, allocations: 187.9 kB / 0.5895 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.4998, allocations: 0.6756 MB / 0.5902 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.774e-05/0.4999, allocations: 11.23 kB / 0.5902 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/0.4999, allocations: 15.34 kB / 0.5902 GB, free: 14.46 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4999, allocations: 1.344 kB / 0.5902 GB, free: 14.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01506/0.515, allocations: 1.723 MB / 0.5919 GB, free: 14.29 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003622/0.5154, allocations: 249 kB / 0.5921 GB, free: 14.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.315, allocations: 4 kB / 0.5921 GB, free: 14.03 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)