Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.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_X,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",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.001162/0.001162, 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.002387/0.002388, 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 1.841/1.841, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.006/1.006, allocations: 135.2 MB / 426.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003169, allocations: 8 kB / 0.5069 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.163, allocations: 82.31 MB / 0.5873 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001234/0.1643, allocations: 0.955 MB / 0.5882 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004823/0.1648, allocations: 275.3 kB / 0.5885 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.445e-05/0.1648, allocations: 0 / 0.5885 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.294e-05/0.1648, allocations: 0 / 0.5885 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.941e-05/0.1649, allocations: 7.984 kB / 0.5885 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.1651, allocations: 39.88 kB / 0.5885 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.695e-05/0.1651, allocations: 15.98 kB / 0.5885 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.1652, allocations: 7.922 kB / 0.5885 GB, free: 1.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.073e-05/0.1652, allocations: 7.984 kB / 0.5886 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.108e-05/0.1653, allocations: 4 kB / 0.5886 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.1653, allocations: 0 / 0.5886 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1654, allocations: 55.95 kB / 0.5886 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.877e-06/0.1654, allocations: 4 kB / 0.5886 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.1655, allocations: 33.64 kB / 0.5886 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.348e-05/0.1656, allocations: 36.17 kB / 0.5887 GB, free: 1.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.1656, allocations: 0 / 0.5887 GB, free: 1.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1656, allocations: 4 kB / 0.5887 GB, free: 1.602 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.1656, allocations: 0 / 0.5887 GB, free: 1.602 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.0003193/0.1659, allocations: 327.4 kB / 0.589 GB, free: 1.234 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1659, allocations: 12.03 kB / 0.589 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.166, allocations: 34.5 kB / 0.589 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.1662, allocations: 27.88 kB / 0.5891 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.1663, allocations: 167 kB / 0.5892 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1663, allocations: 4 kB / 0.5892 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-06/0.1664, allocations: 4 kB / 0.5892 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.818e-05/0.1665, allocations: 41.69 kB / 0.5893 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.1665, allocations: 3.938 kB / 0.5893 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1665, allocations: 0 / 0.5893 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1665, allocations: 0 / 0.5893 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.305e-05/0.1666, allocations: 23.92 kB / 0.5893 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.1667, allocations: 157.7 kB / 0.5895 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/0.1687, allocations: 270.4 kB / 0.5897 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.1687, allocations: 4 kB / 0.5897 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.1687, allocations: 34.56 kB / 0.5897 GB, free: 352 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1687, allocations: 0 / 0.5897 GB, free: 352 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001484/0.1689, allocations: 65.72 kB / 0.5898 GB, free: 280 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.1689, allocations: 51.41 kB / 0.5899 GB, free: 216 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.961e-05/0.169, allocations: 89.86 kB / 0.5899 GB, free: 116 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.169, allocations: 25.7 kB / 0.59 GB, free: 84 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.1691, allocations: 80.14 kB / 0.59 GB, free: 0 / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.1691, allocations: 19.8 kB / 0.5901 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/0.1691, allocations: 0 / 0.5901 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.1692, allocations: 318.9 kB / 0.5904 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.1693, allocations: 8 kB / 0.5904 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.824e-05/0.1693, allocations: 8 kB / 0.5904 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.717e-05/0.1693, allocations: 15.98 kB / 0.5904 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1693, allocations: 0 / 0.5904 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.369e-05/0.1694, allocations: 53.64 kB / 0.5905 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1694, allocations: 7.984 kB / 0.5905 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1694, allocations: 0 / 0.5905 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1695, allocations: 0 / 0.5905 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.013e-05/0.1695, allocations: 4 kB / 0.5905 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1695, allocations: 8 kB / 0.5905 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.1696, allocations: 0 / 0.5905 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.1696, allocations: 3.938 kB / 0.5905 GB, free: 15.55 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 7.164e-05/0.1697, allocations: 112.2 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.1697, allocations: 4.328 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.1697, allocations: 7.5 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1697, allocations: 3.984 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1697, allocations: 3.984 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1697, allocations: 4 kB / 0.5906 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.1699, allocations: 169.5 kB / 0.5908 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1699, allocations: 3.984 kB / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.823e-05/0.1699, allocations: 4 kB / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1699, allocations: 3.938 kB / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.1699, allocations: 0 / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.17, allocations: 0 / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.17, allocations: 0 / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.1701, allocations: 81.06 kB / 0.5909 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.1702, allocations: 85.06 kB / 0.5909 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.1702, allocations: 3.984 kB / 0.5909 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.617e-05/0.1702, allocations: 8 kB / 0.5909 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.1703, allocations: 0 / 0.5909 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.1703, allocations: 4 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.093e-05/0.1703, allocations: 75.28 kB / 0.591 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1703, allocations: 0 / 0.591 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002133/0.1705, allocations: 8 kB / 0.591 GB, free: 14.88 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 (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 Backend phase and start with SimCode phase: time 0.0003898/0.1709, allocations: 0.6234 MB / 0.5916 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.196e-05/0.171, allocations: 24 kB / 0.5917 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.171, allocations: 0 / 0.5917 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.473e-05/0.1711, allocations: 19.92 kB / 0.5917 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.1713, allocations: 9.875 kB / 0.5917 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.1717, allocations: 162.2 kB / 0.5918 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.1719, allocations: 0.677 MB / 0.5925 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.285e-05/0.172, allocations: 11.98 kB / 0.5925 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.172, allocations: 7.438 kB / 0.5925 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.172, allocations: 0 / 0.5925 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/0.185, allocations: 1.069 MB / 0.5936 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/0.1853, allocations: 182.2 kB / 0.5937 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/2.582, allocations: 0 / 0.5937 GB, free: 12.09 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) Environment - environmentSimulation: