Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.pW_X,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_dev_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.001007/0.001007, allocations: 97.64 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.009286/0.009286, allocations: 170.1 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.572/1.572, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9692/0.9692, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 13.7 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1837, allocations: 82.31 MB / 0.5881 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001302/0.1851, allocations: 0.9784 MB / 0.589 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006053/0.1857, allocations: 304.7 kB / 0.5893 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.434e-05/0.1857, allocations: 0 / 0.5893 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.1857, allocations: 0 / 0.5893 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.589e-05/0.1858, allocations: 7.938 kB / 0.5893 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.186, allocations: 43.83 kB / 0.5894 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.801e-05/0.1861, allocations: 15.92 kB / 0.5894 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.1862, allocations: 7.984 kB / 0.5894 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.1862, allocations: 8 kB / 0.5894 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.011e-05/0.1862, allocations: 7.922 kB / 0.5894 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1863, allocations: 4 kB / 0.5894 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.1864, allocations: 51.95 kB / 0.5895 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.006e-05/0.1864, allocations: 0 / 0.5895 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.1864, allocations: 37.64 kB / 0.5895 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.1866, allocations: 52.17 kB / 0.5896 GB, free: 1.008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1866, allocations: 0 / 0.5896 GB, free: 1.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1866, allocations: 0 / 0.5896 GB, free: 1.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1866, allocations: 0 / 0.5896 GB, free: 1.008 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003496/0.187, allocations: 327.6 kB / 0.5899 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.187, allocations: 8.031 kB / 0.5899 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.1871, allocations: 38.73 kB / 0.5899 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.1873, allocations: 28.77 kB / 0.5899 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.1874, allocations: 168.3 kB / 0.5901 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1874, allocations: 4.375 kB / 0.5901 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.1874, allocations: 4.375 kB / 0.5901 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.1875, allocations: 42.23 kB / 0.5901 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1875, allocations: 7.938 kB / 0.5902 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.1875, allocations: 0 / 0.5902 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1876, allocations: 0 / 0.5902 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.482e-05/0.1876, allocations: 12 kB / 0.5902 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.1878, allocations: 161.7 kB / 0.5903 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.1896, allocations: 270.4 kB / 0.5906 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.058e-05/0.1896, allocations: 28.84 kB / 0.5906 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.1896, allocations: 0 / 0.5906 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.1897, allocations: 30.56 kB / 0.5906 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1897, allocations: 0 / 0.5906 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001553/0.1898, allocations: 65.62 kB / 0.5907 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.1899, allocations: 55.41 kB / 0.5907 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.931e-05/0.1899, allocations: 93.89 kB / 0.5908 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.19, allocations: 29.73 kB / 0.5909 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.376e-05/0.19, allocations: 84.08 kB / 0.5909 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.19, allocations: 19.8 kB / 0.591 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.1901, allocations: 9.719 kB / 0.591 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.1902, allocations: 310.8 kB / 0.5913 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.1902, allocations: 8 kB / 0.5913 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.576e-05/0.1902, allocations: 8.172 kB / 0.5913 GB, free: 15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.341e-05/0.1903, allocations: 32.94 kB / 0.5913 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1903, allocations: 4 kB / 0.5913 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.385e-05/0.1904, allocations: 53.69 kB / 0.5914 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1904, allocations: 7.938 kB / 0.5914 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1904, allocations: 7.938 kB / 0.5914 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.1904, allocations: 0 / 0.5914 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.047e-05/0.1905, allocations: 4 kB / 0.5914 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1905, allocations: 0 / 0.5914 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.869e-05/0.1905, allocations: 0 / 0.5914 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.1905, allocations: 7.938 kB / 0.5914 GB, free: 14.88 MB / 0.4981 GB 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.34e-05/0.1906, allocations: 105.8 kB / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-06/0.1906, allocations: 7.938 kB / 0.5915 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.1906, allocations: 15.48 kB / 0.5915 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1907, allocations: 0 / 0.5915 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1907, allocations: 0 / 0.5915 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1907, allocations: 0 / 0.5915 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.1908, allocations: 165.6 kB / 0.5917 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1908, allocations: 0 / 0.5917 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.1908, allocations: 8 kB / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1908, allocations: 3.938 kB / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.1908, allocations: 0 / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1909, allocations: 4 kB / 0.5917 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1909, allocations: 0 / 0.5917 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.191, allocations: 80.97 kB / 0.5918 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.191, allocations: 85.09 kB / 0.5919 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.1911, allocations: 7.938 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.58e-05/0.1911, allocations: 0 / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.1911, allocations: 4 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1911, allocations: 4 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.245e-05/0.1912, allocations: 79.28 kB / 0.5919 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1912, allocations: 0 / 0.5919 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001724/0.1914, allocations: 8 kB / 0.592 GB, free: 14.21 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 (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.0003399/0.1917, allocations: 0.6163 MB / 0.5926 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.217e-05/0.1918, allocations: 32.08 kB / 0.5926 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1918, allocations: 3.938 kB / 0.5926 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.22e-05/0.1918, allocations: 12 kB / 0.5926 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.1921, allocations: 10.05 kB / 0.5926 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.1924, allocations: 174 kB / 0.5928 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.1927, allocations: 0.677 MB / 0.5934 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.284e-05/0.1927, allocations: 336 / 0.5934 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.1928, allocations: 11.44 kB / 0.5934 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1928, allocations: 0 / 0.5934 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2257/0.4185, allocations: 1.103 MB / 0.5945 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.4187, allocations: 199.3 kB / 0.5947 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/2.073, allocations: 0 / 0.5947 GB, free: 11.37 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)