Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.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_X,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",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.0008203/0.0008201, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.006168/0.006168, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7788/0.7788, allocations: 132.3 MB / 423.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003421, allocations: 8 kB / 0.5041 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4831/0.4835, allocations: 81.58 MB / 0.5838 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001372/0.4849, allocations: 0.9886 MB / 0.5847 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006158/0.4856, allocations: 298.5 kB / 0.585 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.672e-05/0.4856, allocations: 1.094 kB / 0.585 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.4856, allocations: 1.297 kB / 0.585 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.092e-05/0.4857, allocations: 5.484 kB / 0.585 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.4859, allocations: 45.08 kB / 0.5851 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.268e-05/0.486, allocations: 16.97 kB / 0.5851 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.4861, allocations: 3.562 kB / 0.5851 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.533e-05/0.4861, allocations: 4.5 kB / 0.5851 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.812e-05/0.4862, allocations: 13.72 kB / 0.5851 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.4862, allocations: 1.062 kB / 0.5851 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.4863, allocations: 56.94 kB / 0.5851 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.4863, allocations: 1.797 kB / 0.5851 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.4864, allocations: 42.42 kB / 0.5852 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.4865, allocations: 42.95 kB / 0.5852 GB, free: 2.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4865, allocations: 0.9375 kB / 0.5852 GB, free: 2.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4866, allocations: 0 / 0.5852 GB, free: 2.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.4866, allocations: 0 / 0.5852 GB, free: 2.84 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.0003129/0.4869, allocations: 332.8 kB / 0.5855 GB, free: 2.477 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.4869, allocations: 10.23 kB / 0.5856 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.487, allocations: 32.22 kB / 0.5856 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.4872, allocations: 25.45 kB / 0.5856 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.392e-05/0.4873, allocations: 162.5 kB / 0.5858 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.4873, allocations: 5.797 kB / 0.5858 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.4873, allocations: 5.188 kB / 0.5858 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.4874, allocations: 46.14 kB / 0.5858 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.4874, allocations: 3.938 kB / 0.5858 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.4875, allocations: 0.9062 kB / 0.5858 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4875, allocations: 4.641 kB / 0.5858 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.675e-05/0.4875, allocations: 19.55 kB / 0.5858 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.4877, allocations: 153.9 kB / 0.586 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.4896, allocations: 273.2 kB / 0.5863 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.4896, allocations: 18.8 kB / 0.5863 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.4897, allocations: 5.625 kB / 0.5863 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.4897, allocations: 35.22 kB / 0.5863 GB, free: 1.879 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.4897, allocations: 0 / 0.5863 GB, free: 1.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001617/0.4899, allocations: 70.38 kB / 0.5864 GB, free: 1.828 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.4899, allocations: 52.09 kB / 0.5864 GB, free: 1.766 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.915e-05/0.49, allocations: 96.19 kB / 0.5865 GB, free: 1.664 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.49, allocations: 26.52 kB / 0.5865 GB, free: 1.633 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.883e-05/0.49, allocations: 80.8 kB / 0.5866 GB, free: 1.551 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.49, allocations: 22.16 kB / 0.5866 GB, free: 1.531 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.127e-05/0.4901, allocations: 11.78 kB / 0.5867 GB, free: 1.516 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.855e-05/0.4901, allocations: 312.3 kB / 0.587 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/0.4902, allocations: 10.06 kB / 0.587 GB, free: 1.199 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.914e-05/0.4902, allocations: 10.39 kB / 0.587 GB, free: 1.195 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.06e-05/0.4902, allocations: 32.5 kB / 0.587 GB, free: 1.172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4902, allocations: 0.6562 kB / 0.587 GB, free: 1.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.959e-05/0.4903, allocations: 52.23 kB / 0.5871 GB, free: 1.133 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4904, allocations: 9.188 kB / 0.5871 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4904, allocations: 0.6562 kB / 0.5871 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.4904, allocations: 1.031 kB / 0.5871 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.717e-05/0.4904, allocations: 5.656 kB / 0.5871 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4905, allocations: 0.6562 kB / 0.5871 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.972e-05/0.4905, allocations: 1.281 kB / 0.5871 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.4905, allocations: 5.656 kB / 0.5871 GB, free: 1.125 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 6.218e-05/0.4906, allocations: 116.2 kB / 0.5872 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.4906, allocations: 5.875 kB / 0.5872 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.4906, allocations: 12 kB / 0.5872 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4906, allocations: 9.109 kB / 0.5872 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4907, allocations: 0.7031 kB / 0.5872 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.4907, allocations: 0.6562 kB / 0.5872 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.598e-05/0.4908, allocations: 158.2 kB / 0.5874 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4908, allocations: 0.5625 kB / 0.5874 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.496e-05/0.4908, allocations: 6.469 kB / 0.5874 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.4908, allocations: 7.938 kB / 0.5874 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.4908, allocations: 2.672 kB / 0.5874 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4908, allocations: 0 / 0.5874 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4908, allocations: 0 / 0.5874 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.867e-05/0.491, allocations: 78.77 kB / 0.5875 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.017e-05/0.491, allocations: 80.27 kB / 0.5875 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.491, allocations: 5.469 kB / 0.5875 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.209e-05/0.4911, allocations: 0.7031 kB / 0.5875 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.4911, allocations: 7 kB / 0.5875 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.4911, allocations: 1.5 kB / 0.5876 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.899e-05/0.4912, allocations: 84.06 kB / 0.5876 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4912, allocations: 0 / 0.5876 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001851/0.4914, allocations: 10.06 kB / 0.5876 GB, free: 0.5117 MB / 430.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 (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 Backend phase and start with SimCode phase: time 0.0003255/0.4917, allocations: 0.6153 MB / 0.5882 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.4918, allocations: 25.64 kB / 0.5883 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4918, allocations: 0 / 0.5883 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.745e-05/0.4918, allocations: 13.61 kB / 0.5883 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.4921, allocations: 12.61 kB / 0.5883 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.4926, allocations: 170.1 kB / 0.5885 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.4929, allocations: 0.6746 MB / 0.5891 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.662e-05/0.493, allocations: 7.047 kB / 0.5891 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.493, allocations: 13.12 kB / 0.5891 GB, free: 15.01 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.493, allocations: 1.438 kB / 0.5891 GB, free: 15.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.5118, allocations: 1.093 MB / 0.5902 GB, free: 14.88 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003309/0.5122, allocations: 193.8 kB / 0.5904 GB, free: 14.63 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.216, allocations: 0 / 0.5904 GB, free: 14.63 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)