Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_dev_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.001355/0.001355, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001368/0.001368, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.38/1.38, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9771/0.9771, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 58.7 kB / 0.505 GB, free: 5.555 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1457, allocations: 80.93 MB / 0.584 GB, free: 4.793 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002359/0.1481, allocations: 1.32 MB / 0.5853 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.1495, allocations: 0.8785 MB / 0.5861 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.262e-05/0.1495, allocations: 0 / 0.5861 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.1495, allocations: 0 / 0.5861 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.629e-05/0.1496, allocations: 0 / 0.5861 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000694/0.1503, allocations: 186.8 kB / 0.5863 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.201e-05/0.1504, allocations: 19.94 kB / 0.5863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.1504, allocations: 0 / 0.5863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.272e-05/0.1505, allocations: 4 kB / 0.5863 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.1505, allocations: 11.92 kB / 0.5864 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.1505, allocations: 0 / 0.5864 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.1508, allocations: 195.8 kB / 0.5865 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.1509, allocations: 8 kB / 0.5865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.1509, allocations: 11.92 kB / 0.5866 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.1511, allocations: 143.8 kB / 0.5867 GB, free: 2.008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1511, allocations: 0 / 0.5867 GB, free: 2.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1511, allocations: 0 / 0.5867 GB, free: 2.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1512, allocations: 0 / 0.5867 GB, free: 2.008 MB / 494.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.0003688/0.1515, allocations: 359.4 kB / 0.587 GB, free: 1.609 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1516, allocations: 11.97 kB / 0.587 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.47e-05/0.1516, allocations: 38.69 kB / 0.5871 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.1518, allocations: 12.92 kB / 0.5871 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.439e-05/0.1519, allocations: 164.4 kB / 0.5873 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1519, allocations: 384 / 0.5873 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.477e-06/0.1519, allocations: 3.938 kB / 0.5873 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.152, allocations: 41.69 kB / 0.5873 GB, free: 1.289 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.152, allocations: 0 / 0.5873 GB, free: 1.289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.152, allocations: 0 / 0.5873 GB, free: 1.289 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.152, allocations: 7.984 kB / 0.5873 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.763e-05/0.1521, allocations: 15.98 kB / 0.5873 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.1522, allocations: 157.7 kB / 0.5875 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009228/0.1532, allocations: 142.5 kB / 0.5876 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/0.1532, allocations: 24.84 kB / 0.5876 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.1533, allocations: 81.11 kB / 0.5877 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.1534, allocations: 34.56 kB / 0.5877 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.1534, allocations: 0 / 0.5877 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001673/0.1536, allocations: 65.62 kB / 0.5878 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.1536, allocations: 59.39 kB / 0.5879 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.181e-05/0.1537, allocations: 93.8 kB / 0.5879 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1537, allocations: 25.7 kB / 0.588 GB, free: 484 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.422e-05/0.1537, allocations: 80.14 kB / 0.5881 GB, free: 400 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1537, allocations: 19.94 kB / 0.5881 GB, free: 380 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.1538, allocations: 13.72 kB / 0.5881 GB, free: 360 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.694e-05/0.1539, allocations: 318.8 kB / 0.5884 GB, free: 32 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.1539, allocations: 4 kB / 0.5884 GB, free: 28 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.684e-05/0.1539, allocations: 8 kB / 0.5884 GB, free: 20 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.29e-05/0.154, allocations: 28.89 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.154, allocations: 0 / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.438e-05/0.1541, allocations: 61.52 kB / 0.5885 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1541, allocations: 6.188 kB / 0.5885 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1541, allocations: 4 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1541, allocations: 3.938 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.587e-05/0.1542, allocations: 8 kB / 0.5885 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1542, allocations: 0 / 0.5885 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.06e-05/0.1542, allocations: 3.938 kB / 0.5885 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.1543, allocations: 7.984 kB / 0.5885 GB, free: 15.89 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.363e-05/0.1543, allocations: 109.8 kB / 0.5886 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.1543, allocations: 3.906 kB / 0.5886 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.1546, allocations: 85.11 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1546, allocations: 0 / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1546, allocations: 0 / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1546, allocations: 0 / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.872e-05/0.1547, allocations: 161.6 kB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.1547, allocations: 0 / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.269e-05/0.1548, allocations: 16 kB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1548, allocations: 4.312 kB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.1548, allocations: 0 / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1548, allocations: 0 / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1548, allocations: 0 / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.1549, allocations: 85.19 kB / 0.589 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.155, allocations: 89.09 kB / 0.589 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.155, allocations: 0 / 0.589 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.857e-05/0.155, allocations: 11.92 kB / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.1551, allocations: 4 kB / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1551, allocations: 4 kB / 0.5891 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.486e-05/0.1551, allocations: 79.22 kB / 0.5891 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1551, allocations: 0 / 0.5891 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002559/0.1554, allocations: 48 kB / 0.5892 GB, free: 15.1 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.0005521/0.1559, allocations: 0.6848 MB / 0.5899 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.156, allocations: 35.92 kB / 0.5899 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1561, allocations: 0 / 0.5899 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.645e-05/0.1561, allocations: 12 kB / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.1562, allocations: 7.938 kB / 0.5899 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/0.1567, allocations: 192.1 kB / 0.5901 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.1569, allocations: 0.6768 MB / 0.5908 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.515e-05/0.1569, allocations: 11.98 kB / 0.5908 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.157, allocations: 19.42 kB / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.157, allocations: 0 / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9217/1.079, allocations: 1.856 MB / 0.5926 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003131/1.079, allocations: 250.7 kB / 0.5928 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/3.267, allocations: 0 / 0.5928 GB, free: 11.43 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)