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.001552/0.001552, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0018/0.001801, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.486/2.486, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.201/1.201, allocations: 132.2 MB / 423.2 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.0003943, allocations: 16 kB / 0.5033 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7806/0.781, allocations: 81.57 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002749/0.7838, allocations: 0.979 MB / 0.5839 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002553/0.7864, allocations: 0.7956 MB / 0.5847 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.385e-05/0.7865, allocations: 1.344 kB / 0.5847 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.7866, allocations: 3.25 kB / 0.5847 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.889e-05/0.7866, allocations: 5.797 kB / 0.5847 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.7877, allocations: 147.9 kB / 0.5849 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.752e-05/0.7878, allocations: 23.75 kB / 0.5849 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.87e-05/0.7879, allocations: 1.609 kB / 0.5849 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.355e-05/0.7879, allocations: 9.266 kB / 0.5849 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.788, allocations: 3.547 kB / 0.5849 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.7881, allocations: 0.8438 kB / 0.5849 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005868/0.7887, allocations: 176.5 kB / 0.5851 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.7887, allocations: 5.484 kB / 0.5851 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.7887, allocations: 27.83 kB / 0.5851 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003846/0.7891, allocations: 99.56 kB / 0.5852 GB, free: 2.559 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.7892, allocations: 0.7188 kB / 0.5852 GB, free: 2.559 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.937e-06/0.7892, allocations: 4 kB / 0.5852 GB, free: 2.555 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.7892, allocations: 0.7188 kB / 0.5852 GB, free: 2.555 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.0005866/0.7898, allocations: 358.7 kB / 0.5855 GB, free: 2.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.307e-05/0.7899, allocations: 8.375 kB / 0.5855 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.764e-05/0.7899, allocations: 32.38 kB / 0.5856 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002767/0.7902, allocations: 13.11 kB / 0.5856 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.7904, allocations: 164.8 kB / 0.5857 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.7904, allocations: 0.5625 kB / 0.5857 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.7904, allocations: 1.562 kB / 0.5857 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.7906, allocations: 54.88 kB / 0.5858 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.7906, allocations: 0 / 0.5858 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.7907, allocations: 0.9375 kB / 0.5858 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.7907, allocations: 0 / 0.5858 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.971e-05/0.7908, allocations: 15.98 kB / 0.5858 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.791, allocations: 161.4 kB / 0.586 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009796/0.792, allocations: 121.1 kB / 0.5861 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/0.7922, allocations: 87.34 kB / 0.5862 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.7922, allocations: 40.8 kB / 0.5862 GB, free: 1.508 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.7922, allocations: 0 / 0.5862 GB, free: 1.508 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002764/0.7925, allocations: 62.59 kB / 0.5863 GB, free: 1.465 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.7926, allocations: 53.2 kB / 0.5863 GB, free: 1.402 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.762e-05/0.7927, allocations: 92 kB / 0.5864 GB, free: 1.305 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.7927, allocations: 29.7 kB / 0.5864 GB, free: 1.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.404e-05/0.7927, allocations: 85.59 kB / 0.5865 GB, free: 1.184 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.7928, allocations: 14.17 kB / 0.5865 GB, free: 1.172 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.7928, allocations: 0 / 0.5865 GB, free: 1.172 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.236e-05/0.7929, allocations: 321.2 kB / 0.5868 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.935e-05/0.7929, allocations: 8.562 kB / 0.5868 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.178e-05/0.7929, allocations: 9.922 kB / 0.5868 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.587e-05/0.793, allocations: 10.33 kB / 0.5869 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.793, allocations: 1.031 kB / 0.5869 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001009/0.7931, allocations: 48.75 kB / 0.5869 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.7931, allocations: 5.438 kB / 0.5869 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.7931, allocations: 0.7031 kB / 0.5869 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.7932, allocations: 4.75 kB / 0.5869 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.877e-05/0.7932, allocations: 10.23 kB / 0.5869 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.7933, allocations: 1.688 kB / 0.5869 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.274e-05/0.7933, allocations: 4.562 kB / 0.5869 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.7933, allocations: 2.422 kB / 0.5869 GB, free: 0.793 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.912e-05/0.7934, allocations: 115.7 kB / 0.587 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.7934, allocations: 5.797 kB / 0.587 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/0.7937, allocations: 79.12 kB / 0.5871 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.7938, allocations: 1.75 kB / 0.5871 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.7938, allocations: 0 / 0.5871 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.7938, allocations: 0.6719 kB / 0.5871 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.7939, allocations: 163.7 kB / 0.5873 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7939, allocations: 3.938 kB / 0.5873 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.794, allocations: 12.2 kB / 0.5873 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.794, allocations: 0.7188 kB / 0.5873 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.794, allocations: 5.391 kB / 0.5873 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.794, allocations: 0.9375 kB / 0.5873 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.794, allocations: 0.7031 kB / 0.5873 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.7942, allocations: 89.91 kB / 0.5874 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.7942, allocations: 80.22 kB / 0.5875 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.7942, allocations: 1.781 kB / 0.5875 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.978e-05/0.7943, allocations: 5.562 kB / 0.5875 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.7943, allocations: 12.16 kB / 0.5875 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.7943, allocations: 1.219 kB / 0.5875 GB, free: 216 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.686e-05/0.7944, allocations: 76.19 kB / 0.5876 GB, free: 140 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7944, allocations: 0.8125 kB / 0.5876 GB, free: 140 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003653/0.7947, allocations: 45.83 kB / 0.5876 GB, free: 132 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009392/0.7957, allocations: 0.6947 MB / 0.5883 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.7959, allocations: 25.67 kB / 0.5883 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.7959, allocations: 1.125 kB / 0.5883 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.378e-05/0.7959, allocations: 20.56 kB / 0.5883 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.7961, allocations: 5.875 kB / 0.5883 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006423/0.7967, allocations: 185 kB / 0.5885 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.7971, allocations: 0.6783 MB / 0.5892 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.175e-05/0.7972, allocations: 15.56 kB / 0.5892 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.7972, allocations: 11.72 kB / 0.5892 GB, free: 14.6 MB / 446.1 MB Notification: Performance of SimCode: time 5.92e-07/0.7972, allocations: 0 / 0.5892 GB, free: 14.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/0.8129, allocations: 1.691 MB / 0.5909 GB, free: 14.45 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.8132, allocations: 224.5 kB / 0.5911 GB, free: 14.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.938/3.751, allocations: 6.75 kB / 0.5911 GB, free: 14.21 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/linux/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) Environment - environmentSimulation: