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.001124/0.001124, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.001446/0.001446, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 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: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9352/0.9352, allocations: 135.3 MB / 426.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003372, allocations: 8 kB / 0.5071 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1606, allocations: 82.31 MB / 0.5875 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001596/0.1623, allocations: 0.99 MB / 0.5884 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1638, allocations: 0.8015 MB / 0.5892 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.1638, allocations: 4 kB / 0.5892 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.1638, allocations: 3.984 kB / 0.5892 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.199e-05/0.1639, allocations: 3.984 kB / 0.5892 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005483/0.1644, allocations: 151.6 kB / 0.5894 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.719e-05/0.1645, allocations: 19.92 kB / 0.5894 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.778e-05/0.1646, allocations: 3.984 kB / 0.5894 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.721e-05/0.1646, allocations: 4 kB / 0.5894 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.1646, allocations: 7.938 kB / 0.5894 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.1647, allocations: 0 / 0.5894 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.165, allocations: 178.6 kB / 0.5896 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.165, allocations: 8 kB / 0.5896 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.165, allocations: 33.64 kB / 0.5896 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.1652, allocations: 100.1 kB / 0.5897 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1652, allocations: 0 / 0.5897 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.569e-06/0.1652, allocations: 4 kB / 0.5897 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1653, allocations: 3.938 kB / 0.5897 GB, free: 0.6797 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.0003961/0.1657, allocations: 355.3 kB / 0.5901 GB, free: 292 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1657, allocations: 8.031 kB / 0.5901 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.1657, allocations: 30.56 kB / 0.5901 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.1659, allocations: 15.94 kB / 0.5901 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.166, allocations: 163.1 kB / 0.5903 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.166, allocations: 0 / 0.5903 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.1661, allocations: 4 kB / 0.5903 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.1662, allocations: 41.69 kB / 0.5903 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1662, allocations: 3.938 kB / 0.5903 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1662, allocations: 0 / 0.5903 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1662, allocations: 4 kB / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.571e-05/0.1663, allocations: 19.92 kB / 0.5903 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.1665, allocations: 157.6 kB / 0.5905 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007746/0.1672, allocations: 126.6 kB / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.1673, allocations: 16.86 kB / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.1674, allocations: 89.03 kB / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1675, allocations: 34.56 kB / 0.5907 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1675, allocations: 0 / 0.5907 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001699/0.1676, allocations: 61.62 kB / 0.5908 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.1677, allocations: 51.41 kB / 0.5909 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.328e-05/0.1678, allocations: 105.8 kB / 0.591 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1678, allocations: 25.7 kB / 0.591 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.1678, allocations: 80.14 kB / 0.5911 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.1679, allocations: 11.75 kB / 0.5911 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.1679, allocations: 4 kB / 0.5911 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.168, allocations: 318.8 kB / 0.5914 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.964e-05/0.1681, allocations: 4 kB / 0.5914 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.1681, allocations: 12.17 kB / 0.5914 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.832e-05/0.1681, allocations: 16.2 kB / 0.5914 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1681, allocations: 0 / 0.5914 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.597e-05/0.1682, allocations: 57.62 kB / 0.5915 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1682, allocations: 8 kB / 0.5915 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1682, allocations: 0 / 0.5915 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1683, allocations: 0 / 0.5915 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.368e-05/0.1683, allocations: 4 kB / 0.5915 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1683, allocations: 3.984 kB / 0.5915 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/0.1684, allocations: 4 kB / 0.5915 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.1684, allocations: 0 / 0.5915 GB, free: 14.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.531e-05/0.1685, allocations: 113.8 kB / 0.5916 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.1685, allocations: 7.906 kB / 0.5916 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.1687, allocations: 77.17 kB / 0.5917 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1688, allocations: 4 kB / 0.5917 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1688, allocations: 4 kB / 0.5917 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1688, allocations: 0 / 0.5917 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.1689, allocations: 165.6 kB / 0.5918 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1689, allocations: 3.938 kB / 0.5918 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.394e-05/0.169, allocations: 11.98 kB / 0.5919 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.169, allocations: 0 / 0.5919 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.169, allocations: 4 kB / 0.5919 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.169, allocations: 0 / 0.5919 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.169, allocations: 3.938 kB / 0.5919 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.1691, allocations: 89.08 kB / 0.5919 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/0.1692, allocations: 85.05 kB / 0.592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.1692, allocations: 3.984 kB / 0.592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.365e-05/0.1693, allocations: 3.938 kB / 0.592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.1693, allocations: 4 kB / 0.592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.1693, allocations: 0 / 0.592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.652e-05/0.1694, allocations: 83.28 kB / 0.5921 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1694, allocations: 0 / 0.5921 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002389/0.1696, allocations: 48.08 kB / 0.5922 GB, free: 13.83 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 (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.000688/0.1703, allocations: 0.6883 MB / 0.5928 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.1704, allocations: 27.92 kB / 0.5929 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.1704, allocations: 8 kB / 0.5929 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.816e-05/0.1705, allocations: 12.12 kB / 0.5929 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.1706, allocations: 6.031 kB / 0.5929 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.1711, allocations: 174.4 kB / 0.5931 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.1713, allocations: 0.677 MB / 0.5937 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.498e-05/0.1714, allocations: 23.86 kB / 0.5937 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.1715, allocations: 11.38 kB / 0.5937 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1715, allocations: 4 kB / 0.5938 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01133/0.1828, allocations: 1.706 MB / 0.5954 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/0.183, allocations: 228.6 kB / 0.5956 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/1.955, allocations: 4 kB / 0.5956 GB, free: 10.34 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/linux/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) Environment - environmentSimulation: