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.001108/0.001107, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001166/0.001166, allocations: 192.2 kB / 16.13 MB, free: 6.719 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.187/1.187, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6941/0.6941, allocations: 132.2 MB / 422.1 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 55.53 kB / 0.5012 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3149, allocations: 80.21 MB / 0.5795 GB, free: 4.441 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002051/0.317, allocations: 1.319 MB / 0.5808 GB, free: 3.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3182, allocations: 0.9101 MB / 0.5817 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.55e-05/0.3183, allocations: 0 / 0.5817 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.62e-05/0.3183, allocations: 4.547 kB / 0.5817 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.061e-05/0.3183, allocations: 5.469 kB / 0.5817 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.3189, allocations: 154.9 kB / 0.5818 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.166e-05/0.3189, allocations: 18.58 kB / 0.5819 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.176e-05/0.319, allocations: 1.547 kB / 0.5819 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.009e-05/0.319, allocations: 9.422 kB / 0.5819 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.787e-05/0.319, allocations: 8.547 kB / 0.5819 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.319, allocations: 1.125 kB / 0.5819 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003357/0.3194, allocations: 191.4 kB / 0.5821 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.3194, allocations: 9.656 kB / 0.5821 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.3194, allocations: 8.359 kB / 0.5821 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.3197, allocations: 152.4 kB / 0.5822 GB, free: 2.703 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3197, allocations: 0.6562 kB / 0.5822 GB, free: 2.703 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.3197, allocations: 0 / 0.5822 GB, free: 2.703 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.3197, allocations: 0 / 0.5822 GB, free: 2.703 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.0003059/0.32, allocations: 356.8 kB / 0.5826 GB, free: 2.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.3201, allocations: 9.25 kB / 0.5826 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.2e-05/0.3201, allocations: 36.2 kB / 0.5826 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.3203, allocations: 13.8 kB / 0.5826 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.176e-05/0.3203, allocations: 166 kB / 0.5828 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.3203, allocations: 5.25 kB / 0.5828 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.3204, allocations: 9.797 kB / 0.5828 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.628e-05/0.3205, allocations: 41.89 kB / 0.5828 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.3205, allocations: 0 / 0.5828 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3205, allocations: 1.594 kB / 0.5828 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.3205, allocations: 0.75 kB / 0.5828 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.692e-05/0.3205, allocations: 15.16 kB / 0.5829 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.885e-05/0.3206, allocations: 158 kB / 0.583 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008617/0.3215, allocations: 134.1 kB / 0.5831 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.3216, allocations: 27.67 kB / 0.5832 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.917e-05/0.3216, allocations: 84.41 kB / 0.5832 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.3217, allocations: 35.22 kB / 0.5833 GB, free: 1.641 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3217, allocations: 1.531 kB / 0.5833 GB, free: 1.641 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001488/0.3218, allocations: 61.39 kB / 0.5833 GB, free: 1.598 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.3219, allocations: 53.11 kB / 0.5834 GB, free: 1.535 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.072e-05/0.3219, allocations: 95.52 kB / 0.5835 GB, free: 1.434 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.3219, allocations: 26.89 kB / 0.5835 GB, free: 1.402 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.015e-06/0.3219, allocations: 80.14 kB / 0.5836 GB, free: 1.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.3219, allocations: 19.36 kB / 0.5836 GB, free: 1.305 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.322, allocations: 22.41 kB / 0.5836 GB, free: 1.281 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.32e-05/0.322, allocations: 312.7 kB / 0.5839 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.322, allocations: 9.656 kB / 0.5839 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.741e-05/0.3221, allocations: 6.562 kB / 0.5839 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.47e-05/0.3221, allocations: 24.94 kB / 0.584 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3221, allocations: 0 / 0.584 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.683e-05/0.3222, allocations: 61.69 kB / 0.584 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3222, allocations: 6.734 kB / 0.584 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.3222, allocations: 0 / 0.584 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.3222, allocations: 0 / 0.584 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.427e-05/0.3223, allocations: 11.06 kB / 0.584 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3223, allocations: 1.531 kB / 0.584 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.898e-05/0.3223, allocations: 12.94 kB / 0.584 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.3224, allocations: 1.438 kB / 0.584 GB, free: 0.8867 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 4.041e-05/0.3224, allocations: 112.6 kB / 0.5842 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.3224, allocations: 4.656 kB / 0.5842 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.3226, allocations: 84.03 kB / 0.5842 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3226, allocations: 1.156 kB / 0.5842 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.3226, allocations: 0 / 0.5842 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.3226, allocations: 1.891 kB / 0.5842 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.511e-05/0.3227, allocations: 159.5 kB / 0.5844 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.3227, allocations: 0 / 0.5844 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.146e-05/0.3228, allocations: 8.625 kB / 0.5844 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.3228, allocations: 4 kB / 0.5844 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.3228, allocations: 0.9062 kB / 0.5844 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3228, allocations: 5.453 kB / 0.5844 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3228, allocations: 0.875 kB / 0.5844 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.013e-05/0.3229, allocations: 93.23 kB / 0.5845 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.3229, allocations: 85.11 kB / 0.5846 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.323, allocations: 2.406 kB / 0.5846 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.554e-05/0.323, allocations: 0 / 0.5846 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.323, allocations: 7.828 kB / 0.5846 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.323, allocations: 1.906 kB / 0.5846 GB, free: 320 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.443e-05/0.3231, allocations: 76.83 kB / 0.5847 GB, free: 244 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3231, allocations: 0 / 0.5847 GB, free: 244 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.3233, allocations: 50.52 kB / 0.5847 GB, free: 232 kB / 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 (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.0005261/0.3238, allocations: 0.6986 MB / 0.5854 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.074e-05/0.3239, allocations: 27.88 kB / 0.5854 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3239, allocations: 0 / 0.5854 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.772e-05/0.324, allocations: 15.33 kB / 0.5854 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.3241, allocations: 10.08 kB / 0.5854 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.3245, allocations: 184.2 kB / 0.5856 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.3247, allocations: 0.6759 MB / 0.5863 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.504e-05/0.3248, allocations: 11.36 kB / 0.5863 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.3248, allocations: 11.27 kB / 0.5863 GB, free: 14.7 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3248, allocations: 0 / 0.5863 GB, free: 14.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.05/2.374, allocations: 1.795 MB / 0.5881 GB, free: 14.44 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/2.375, allocations: 246.7 kB / 0.5883 GB, free: 14.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/4.042, allocations: 1.828 kB / 0.5883 GB, free: 14.19 MB / 446.1 MB (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)