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.007319/0.007318, allocations: 99.27 kB / 15.73 MB, free: 6.051 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.001298/0.001298, allocations: 197.2 kB / 16.67 MB, free: 5.977 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8033/0.8033, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.55 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1793, allocations: 80.2 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002468/0.1818, allocations: 1.257 MB / 0.6604 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1833, allocations: 0.8793 MB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.1834, allocations: 4 kB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.1834, allocations: 3.984 kB / 0.6613 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.652e-05/0.1835, allocations: 7.922 kB / 0.6613 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007318/0.1842, allocations: 188.3 kB / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.218e-05/0.1843, allocations: 23.86 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.1843, allocations: 7.984 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.158e-05/0.1844, allocations: 7.938 kB / 0.6615 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.172e-05/0.1844, allocations: 12 kB / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.1844, allocations: 0 / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.1848, allocations: 237 kB / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.1849, allocations: 3.984 kB / 0.6618 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.1849, allocations: 11.94 kB / 0.6618 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.1852, allocations: 143.8 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1852, allocations: 0 / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1852, allocations: 0 / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.1852, allocations: 0 / 0.6619 GB, free: 11.2 MB / 0.4981 GB 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.0004642/0.1857, allocations: 368.3 kB / 0.6623 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1857, allocations: 8.031 kB / 0.6623 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.1858, allocations: 34.75 kB / 0.6623 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.186, allocations: 12.86 kB / 0.6623 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.1861, allocations: 160.4 kB / 0.6625 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1861, allocations: 384 / 0.6625 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.1861, allocations: 7.938 kB / 0.6625 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.1862, allocations: 41.69 kB / 0.6625 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.1863, allocations: 0 / 0.6625 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1863, allocations: 4 kB / 0.6625 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1863, allocations: 4 kB / 0.6625 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.08e-05/0.1863, allocations: 19.97 kB / 0.6625 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.1865, allocations: 157.6 kB / 0.6627 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009045/0.1874, allocations: 138.5 kB / 0.6628 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.285e-05/0.1875, allocations: 24.84 kB / 0.6628 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.1876, allocations: 85.11 kB / 0.6629 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.1876, allocations: 34.56 kB / 0.663 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.1877, allocations: 0 / 0.663 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001994/0.1879, allocations: 65.61 kB / 0.663 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.1879, allocations: 51.41 kB / 0.6631 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.894e-05/0.188, allocations: 93.95 kB / 0.6632 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.188, allocations: 33.67 kB / 0.6632 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.1881, allocations: 80.14 kB / 0.6633 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.1881, allocations: 19.69 kB / 0.6633 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.1882, allocations: 21.7 kB / 0.6633 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.1883, allocations: 310.8 kB / 0.6636 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.398e-05/0.1883, allocations: 8 kB / 0.6636 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/0.1883, allocations: 4 kB / 0.6636 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.233e-05/0.1884, allocations: 28.84 kB / 0.6636 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1884, allocations: 4 kB / 0.6636 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.182e-05/0.1885, allocations: 61.56 kB / 0.6637 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1885, allocations: 6.031 kB / 0.6637 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1885, allocations: 4 kB / 0.6637 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1886, allocations: 0 / 0.6637 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.799e-05/0.1886, allocations: 4 kB / 0.6637 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1886, allocations: 0 / 0.6637 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/0.1887, allocations: 4 kB / 0.6637 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1887, allocations: 3.984 kB / 0.6637 GB, free: 9.086 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 9.171e-05/0.1888, allocations: 117.8 kB / 0.6638 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.1888, allocations: 4 kB / 0.6638 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.1891, allocations: 77.11 kB / 0.6639 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1891, allocations: 0 / 0.6639 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1891, allocations: 0 / 0.6639 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1891, allocations: 4 kB / 0.6639 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.1893, allocations: 161.6 kB / 0.6641 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1893, allocations: 0 / 0.6641 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.814e-05/0.1893, allocations: 16.05 kB / 0.6641 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1893, allocations: 0 / 0.6641 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1893, allocations: 0 / 0.6641 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1894, allocations: 0 / 0.6641 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1894, allocations: 0 / 0.6641 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.1895, allocations: 92.97 kB / 0.6642 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.1896, allocations: 81.44 kB / 0.6643 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.1896, allocations: 4 kB / 0.6643 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.516e-05/0.1896, allocations: 7.984 kB / 0.6643 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.109e-05/0.1897, allocations: 7.922 kB / 0.6643 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.1897, allocations: 3.938 kB / 0.6643 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.092e-05/0.1897, allocations: 79.28 kB / 0.6643 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1897, allocations: 0 / 0.6643 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002526/0.19, allocations: 47.98 kB / 0.6644 GB, free: 8.285 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 (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.000658/0.1906, allocations: 0.6971 MB / 0.6651 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.1908, allocations: 27.92 kB / 0.6651 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1908, allocations: 0 / 0.6651 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/0.1908, allocations: 16 kB / 0.6651 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.191, allocations: 8 kB / 0.6651 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.1915, allocations: 172.1 kB / 0.6653 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.1917, allocations: 0.6768 MB / 0.666 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.279e-05/0.1917, allocations: 15.94 kB / 0.666 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.1918, allocations: 11.42 kB / 0.666 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1918, allocations: 0 / 0.666 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.21, allocations: 1.976 MB / 0.6679 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.578/7.788, allocations: 11.02 kB / 0.6679 GB, free: 4.738 MB / 0.4981 GB (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)