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.006272/0.006272, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001328/0.001328, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8388/0.8388, allocations: 132.2 MB / 422.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002526/0.002526, allocations: 64.11 kB / 0.5809 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1695, allocations: 80.22 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002407/0.172, allocations: 1.259 MB / 0.6604 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1735, allocations: 0.8733 MB / 0.6613 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.305e-05/0.1736, allocations: 0 / 0.6613 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.1736, allocations: 0 / 0.6613 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.019e-05/0.1737, allocations: 15.92 kB / 0.6613 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000666/0.1743, allocations: 198.6 kB / 0.6615 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.88e-05/0.1744, allocations: 15.94 kB / 0.6615 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.1745, allocations: 4 kB / 0.6615 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.2e-05/0.1745, allocations: 11.92 kB / 0.6615 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.985e-05/0.1746, allocations: 8 kB / 0.6615 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.1746, allocations: 0 / 0.6615 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004247/0.175, allocations: 239.7 kB / 0.6618 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.175, allocations: 0 / 0.6618 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.1751, allocations: 11.94 kB / 0.6618 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.1753, allocations: 147.7 kB / 0.6619 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1754, allocations: 0 / 0.6619 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.22e-06/0.1754, allocations: 0 / 0.6619 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.1754, allocations: 3.938 kB / 0.6619 GB, free: 7.957 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.0005416/0.1759, allocations: 363.1 kB / 0.6623 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.176, allocations: 8.031 kB / 0.6623 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.176, allocations: 42.73 kB / 0.6623 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.1762, allocations: 8.891 kB / 0.6623 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1763, allocations: 168.4 kB / 0.6625 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1764, allocations: 384 / 0.6625 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.1764, allocations: 11.94 kB / 0.6625 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.1765, allocations: 37.69 kB / 0.6625 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.1765, allocations: 4 kB / 0.6625 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1765, allocations: 0 / 0.6625 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1765, allocations: 0 / 0.6625 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.921e-05/0.1766, allocations: 19.92 kB / 0.6625 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.1768, allocations: 161.6 kB / 0.6627 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.1778, allocations: 130.5 kB / 0.6628 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/0.1779, allocations: 16.86 kB / 0.6628 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.178, allocations: 93.09 kB / 0.6629 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.1781, allocations: 34.56 kB / 0.663 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.1781, allocations: 0 / 0.663 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001935/0.1783, allocations: 61.62 kB / 0.663 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.1783, allocations: 51.41 kB / 0.6631 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.989e-05/0.1784, allocations: 97.84 kB / 0.6632 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1785, allocations: 25.7 kB / 0.6632 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.1785, allocations: 88.27 kB / 0.6633 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.1786, allocations: 11.84 kB / 0.6633 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.1786, allocations: 17.72 kB / 0.6633 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1788, allocations: 318.8 kB / 0.6636 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.557e-05/0.1788, allocations: 8 kB / 0.6636 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.712e-05/0.1788, allocations: 4 kB / 0.6636 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.083e-05/0.1789, allocations: 28.84 kB / 0.6636 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1789, allocations: 0 / 0.6636 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.705e-05/0.179, allocations: 61.89 kB / 0.6637 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.179, allocations: 12 kB / 0.6637 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1791, allocations: 3.984 kB / 0.6637 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1791, allocations: 0 / 0.6637 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.298e-05/0.1791, allocations: 4 kB / 0.6637 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1791, allocations: 0 / 0.6637 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.1792, allocations: 4 kB / 0.6637 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1792, allocations: 4 kB / 0.6637 GB, free: 5.844 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 0.0001392/0.1793, allocations: 109.8 kB / 0.6638 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.1794, allocations: 11.94 kB / 0.6638 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.1796, allocations: 85.11 kB / 0.6639 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1797, allocations: 0 / 0.6639 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1797, allocations: 0 / 0.6639 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1797, allocations: 4 kB / 0.6639 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.1798, allocations: 157.6 kB / 0.6641 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1798, allocations: 4 kB / 0.6641 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.059e-05/0.1799, allocations: 8 kB / 0.6641 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1799, allocations: 0 / 0.6641 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1799, allocations: 0 / 0.6641 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1799, allocations: 3.938 kB / 0.6641 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1799, allocations: 4 kB / 0.6641 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.1801, allocations: 96.97 kB / 0.6642 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.1802, allocations: 81.06 kB / 0.6643 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.1802, allocations: 8 kB / 0.6643 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.669e-05/0.1802, allocations: 4 kB / 0.6643 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.1803, allocations: 3.984 kB / 0.6643 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.1803, allocations: 4 kB / 0.6643 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.226e-05/0.1803, allocations: 75.28 kB / 0.6644 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1803, allocations: 0 / 0.6644 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002515/0.1806, allocations: 47.88 kB / 0.6644 GB, free: 5.039 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.0007883/0.1814, allocations: 0.6944 MB / 0.6651 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001183/0.1815, allocations: 24.12 kB / 0.6651 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1815, allocations: 0 / 0.6651 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.502e-05/0.1815, allocations: 19.98 kB / 0.6651 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.1817, allocations: 12 kB / 0.6651 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004979/0.1822, allocations: 180 kB / 0.6653 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.1826, allocations: 0.6768 MB / 0.666 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.307e-05/0.1827, allocations: 8 kB / 0.666 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.1827, allocations: 11.44 kB / 0.666 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1827, allocations: 0 / 0.666 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.2074, allocations: 1.963 MB / 0.6679 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.176, allocations: 16.11 kB / 0.6679 GB, free: 1.496 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)