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.00749/0.007496, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001382/0.001382, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8163/0.8163, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.75 kB / 0.5809 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1778, allocations: 80.22 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002361/0.1802, allocations: 1.25 MB / 0.6604 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1816, allocations: 0.8794 MB / 0.6613 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.1817, allocations: 3.938 kB / 0.6613 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.1817, allocations: 0 / 0.6613 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.168e-05/0.1818, allocations: 7.922 kB / 0.6613 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007196/0.1825, allocations: 194.3 kB / 0.6615 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.333e-05/0.1825, allocations: 27.84 kB / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.1826, allocations: 0 / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.056e-05/0.1827, allocations: 7.938 kB / 0.6615 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.837e-05/0.1827, allocations: 7.984 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.1827, allocations: 4 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.1831, allocations: 231.7 kB / 0.6617 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.1831, allocations: 7.984 kB / 0.6617 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.1832, allocations: 7.938 kB / 0.6618 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.1835, allocations: 147.8 kB / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1835, allocations: 0 / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1835, allocations: 3.938 kB / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1835, allocations: 0 / 0.6619 GB, free: 11.23 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.0004302/0.1839, allocations: 364.4 kB / 0.6622 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.184, allocations: 8.031 kB / 0.6623 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.184, allocations: 30.75 kB / 0.6623 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.1842, allocations: 12.92 kB / 0.6623 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.1843, allocations: 164.3 kB / 0.6625 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1844, allocations: 4.375 kB / 0.6625 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.1844, allocations: 3.938 kB / 0.6625 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1845, allocations: 45.67 kB / 0.6625 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1845, allocations: 0 / 0.6625 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1846, allocations: 3.984 kB / 0.6625 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1846, allocations: 4 kB / 0.6625 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.687e-05/0.1846, allocations: 15.98 kB / 0.6625 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.1848, allocations: 161.6 kB / 0.6627 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009204/0.1858, allocations: 142.4 kB / 0.6628 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.1858, allocations: 16.86 kB / 0.6628 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.1859, allocations: 85.09 kB / 0.6629 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.186, allocations: 34.56 kB / 0.6629 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.186, allocations: 4 kB / 0.663 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001885/0.1862, allocations: 61.62 kB / 0.663 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.1862, allocations: 55.41 kB / 0.6631 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.67e-05/0.1863, allocations: 89.86 kB / 0.6631 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1863, allocations: 29.7 kB / 0.6632 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.632e-05/0.1863, allocations: 80.14 kB / 0.6633 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.1864, allocations: 19.73 kB / 0.6633 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.1864, allocations: 21.78 kB / 0.6633 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.834e-05/0.1865, allocations: 314.8 kB / 0.6636 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/0.1866, allocations: 15.92 kB / 0.6636 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.761e-05/0.1866, allocations: 4 kB / 0.6636 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.373e-05/0.1867, allocations: 24.86 kB / 0.6636 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1867, allocations: 0 / 0.6636 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.506e-05/0.1868, allocations: 61.56 kB / 0.6637 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1868, allocations: 4 kB / 0.6637 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1868, allocations: 0 / 0.6637 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1868, allocations: 4 kB / 0.6637 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.1869, allocations: 15.98 kB / 0.6637 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1869, allocations: 3.984 kB / 0.6637 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.087e-05/0.1869, allocations: 0 / 0.6637 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.1869, allocations: 4 kB / 0.6637 GB, free: 9.109 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.946e-05/0.187, allocations: 113.8 kB / 0.6638 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.187, allocations: 0 / 0.6638 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.1873, allocations: 81.11 kB / 0.6639 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1873, allocations: 0 / 0.6639 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1873, allocations: 3.984 kB / 0.6639 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1874, allocations: 0 / 0.6639 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.1875, allocations: 165.6 kB / 0.6641 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1875, allocations: 0 / 0.6641 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.1875, allocations: 8.328 kB / 0.6641 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1875, allocations: 0 / 0.6641 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.1876, allocations: 4 kB / 0.6641 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.1876, allocations: 0 / 0.6641 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1876, allocations: 0 / 0.6641 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.1877, allocations: 92.95 kB / 0.6642 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.1878, allocations: 85.09 kB / 0.6643 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.1878, allocations: 0 / 0.6643 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.91e-05/0.1878, allocations: 4 kB / 0.6643 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.1879, allocations: 7.938 kB / 0.6643 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1879, allocations: 4 kB / 0.6643 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.773e-05/0.1879, allocations: 75.28 kB / 0.6643 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.673e-06/0.1879, allocations: 4 kB / 0.6643 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002368/0.1882, allocations: 47.92 kB / 0.6644 GB, free: 8.316 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.0005939/0.1888, allocations: 0.6926 MB / 0.6651 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.1889, allocations: 31.92 kB / 0.6651 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1889, allocations: 4 kB / 0.6651 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.01e-05/0.1889, allocations: 12 kB / 0.6651 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.1891, allocations: 16.36 kB / 0.6651 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.1895, allocations: 175.1 kB / 0.6653 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.1898, allocations: 0.6729 MB / 0.666 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.438e-05/0.1898, allocations: 7.984 kB / 0.666 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.1899, allocations: 19.38 kB / 0.666 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1899, allocations: 4 kB / 0.666 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.2072, allocations: 1.96 MB / 0.6679 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.526/7.734, allocations: 16.94 kB / 0.6679 GB, free: 4.777 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)